37 lines
788 B
TOML
37 lines
788 B
TOML
[project]
|
|
name = "profeto"
|
|
version = "0.1.0"
|
|
description = "足球数据 + LLM 预测服务"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"fastapi>=0.110",
|
|
"uvicorn[standard]>=0.29",
|
|
"pydantic>=2.7",
|
|
"pydantic-settings>=2.3",
|
|
"SQLAlchemy>=2.0",
|
|
"asyncpg>=0.29",
|
|
"psycopg2-binary>=2.9",
|
|
"httpx>=0.27",
|
|
"alembic>=1.13",
|
|
"cryptography>=42.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
# 开发/CI 依赖:本地安装用 pip install -e ".[dev]",CI 用 pip-sync requirements-dev.txt
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"pytest-asyncio>=0.23",
|
|
"pip-tools>=7.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|