Files
model-platform/backend/pyproject.toml
T
2026-08-12 12:21:48 +08:00

45 lines
815 B
TOML

[project]
name = "backend"
version = "0.2.0"
requires-python = ">=3.12"
dependencies = [
"common",
"fastapi==0.116.1",
"uvicorn[standard]==0.35.0",
"httpx==0.28.1",
"croniter==6.2.4",
"alembic==1.18.5",
"cryptography==49.0.0",
"gunicorn>=26.0.0",
"passlib==1.7.4",
"bcrypt>=4.0,<4.1",
"loguru>=0.7.2",
"aiofiles>=25.1.0",
]
[tool.uv.sources]
common = { workspace = true }
[[tool.uv.index]]
url = "https://pypi.tuna.tsinghua.edu.cn/simple/"
default = true
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"pytest>=9.1.1",
"pytest-asyncio>=1.4.0",
"respx>=0.23.1",
]
[tool.hatch.build.targets.wheel]
packages = ["src/backend"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]