* Add `--evaluate` option to test a proposed CSP without needing to install it (best to use in conjunction with --bypass-csp`)
29 lines
741 B
TOML
29 lines
741 B
TOML
[tool.poetry]
|
|
name = "cspresso"
|
|
version = "0.1.2"
|
|
description = "Crawl a website with a headless browser and generate a draft Content-Security-Policy (CSP)."
|
|
authors = ["Miguel Jacq <mig@mig5.net>"]
|
|
readme = "README.md"
|
|
packages = [{ include = "cspresso", from = "src" }]
|
|
license = "GPL-3.0-or-later"
|
|
repository = "https://git.mig5.net/mig5/cspresso"
|
|
|
|
[tool.poetry.dependencies]
|
|
python = ">=3.10,<4.0"
|
|
playwright = "^1.50.0"
|
|
|
|
[tool.poetry.scripts]
|
|
cspresso = "cspresso.crawl:main"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core>=1.0.0"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.pyproject-appimage]
|
|
script = "cspresso"
|
|
output = "CSPresso.AppImage"
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
pytest = "^8"
|
|
pytest-cov = "^5"
|
|
pyproject-appimage = "^4.2"
|