Initial commit
This commit is contained in:
commit
fe58397da7
17 changed files with 2547 additions and 0 deletions
29
pyproject.toml
Normal file
29
pyproject.toml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
[tool.poetry]
|
||||
name = "cspresso"
|
||||
version = "0.1.0"
|
||||
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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue