66 lines
1.4 KiB
TOML
66 lines
1.4 KiB
TOML
# retoor <retoor@molodetz.nl>
|
|
[build-system]
|
|
requires = ["setuptools>=68", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "molodetz"
|
|
version = "1.0.13"
|
|
description = "Molodetz, a calm community blog roll."
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
authors = [{ name = "retoor", email = "retoor@molodetz.nl" }]
|
|
dependencies = [
|
|
"fastapi>=0.115",
|
|
"jinja2>=3.1",
|
|
"uvicorn[standard]>=0.30",
|
|
"python-multipart>=0.0.9",
|
|
"pydantic>=2.7",
|
|
"dataset>=1.6.2",
|
|
"sqlalchemy>=1.4,<2.1",
|
|
"passlib>=1.7.4",
|
|
"httpx[http2]>=0.27",
|
|
"curl_cffi>=0.7",
|
|
"mistune>=3.0",
|
|
"emoji>=2.12",
|
|
"Pillow>=10.3",
|
|
"imagehash>=4.3",
|
|
"pypdf>=4.2",
|
|
"sqlglot>=25.0",
|
|
"defusedxml>=0.7",
|
|
"beautifulsoup4>=4.12",
|
|
"lxml>=5.2",
|
|
"uuid_utils>=0.9",
|
|
"brotli>=1.1",
|
|
"zstandard>=0.22",
|
|
"aiofiles>=23.2",
|
|
"python-dotenv>=1.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.2",
|
|
"playwright>=1.44",
|
|
"locust>=2.29",
|
|
"coverage>=7.5",
|
|
"pyflakes>=3.2",
|
|
]
|
|
|
|
[project.scripts]
|
|
molodetz = "molodetz.cli.main:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["molodetz*"]
|
|
|
|
[tool.setuptools.package-data]
|
|
molodetz = ["templates/**/*", "static/**/*", "docs_api/*.py", "seed/*.md"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests/unit", "tests/api", "tests/e2e"]
|
|
python_files = ["*.py"]
|
|
addopts = "-rf -p no:xdist"
|
|
filterwarnings = [
|
|
"ignore::DeprecationWarning",
|
|
"ignore::PendingDeprecationWarning",
|
|
]
|