shortstats/pyproject.toml
ploush ce25e1f4df
All checks were successful
build / test (push) Successful in 3m45s
build / images (collector) (push) Successful in 21s
build / images (web) (push) Successful in 20s
Upgrade 1.2.3
2026-11-01 22:19:41 +01:00

45 lines
1 KiB
TOML

[build-system]
requires = ["setuptools>=75"]
build-backend = "setuptools.build_meta"
[project]
name = "shortstats"
version = "1.2.3"
description = "Statistiques de Shorts YouTube relevées 7 jours après leur publication"
requires-python = ">=3.12"
dependencies = [
"psycopg[binary]==3.3.6",
"psycopg-pool==3.3.3",
]
[project.optional-dependencies]
collector = [
"httpx==0.28.1",
]
web = [
"fastapi==0.162.0",
"uvicorn==0.54.0",
"websockets==17.2",
"jinja2==3.1.6",
"argon2-cffi==25.1.0",
"itsdangerous==2.2.0",
"python-multipart==0.0.32",
]
dev = [
"pytest==9.2.0",
"httpx==0.28.1",
]
[project.scripts]
shortstats = "shortstats.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
shortstats = ["migrations/*.sql", "web/templates/*.html", "web/static/*", "web/static/vendor/*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
# avertissement interne au client de test de Starlette, sans effet sur l'application
filterwarnings = ["ignore:Using .httpx. with .starlette.testclient."]