46 lines
940 B
TOML
46 lines
940 B
TOML
[project]
|
|
name = "poorbird"
|
|
version = "0.1.0"
|
|
description = "poorBird server — ingest, gallery and device management for a radar-triggered bird camera"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"fastapi>=0.115",
|
|
"uvicorn[standard]>=0.32",
|
|
"pydantic>=2.9",
|
|
"pydantic-settings>=2.6",
|
|
"sqlalchemy>=2.0.36",
|
|
"psycopg[binary]>=3.2",
|
|
"alembic>=1.14",
|
|
"apscheduler>=3.11,<4",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.3",
|
|
"httpx>=0.28",
|
|
"ruff>=0.8",
|
|
]
|
|
|
|
[project.scripts]
|
|
poorbird = "poorbird.cli:main"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/poorbird"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
markers = [
|
|
"db: integration test, needs a reachable PostgreSQL (deselect with -m 'not db')",
|
|
]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
src = ["src"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "UP", "B"]
|