45 lines
860 B
TOML
45 lines
860 B
TOML
[build-system]
|
|
requires = ["hatchling>=1.25"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "siteharbor"
|
|
version = "0.1.0"
|
|
description = "A standalone, bounded web capture service for offline archives."
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
license = { text = "MIT" }
|
|
authors = [{ name = "SiteHarbor" }]
|
|
dependencies = [
|
|
"beautifulsoup4>=4.12,<5",
|
|
"fastapi>=0.115,<1",
|
|
"httpcore>=1,<2",
|
|
"httpx>=0.27,<1",
|
|
"jinja2>=3.1,<4",
|
|
"uvicorn[standard]>=0.30,<1",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.3,<9",
|
|
"pytest-cov>=5,<7",
|
|
"ruff>=0.8,<1",
|
|
]
|
|
|
|
[project.scripts]
|
|
siteharbor = "app.main:run"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["app"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
addopts = "-q"
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "UP", "B"]
|