fao/pyproject.toml
2026-04-23 19:24:46 +08:00

29 lines
624 B
TOML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "fao"
version = "0.1.0"
description = "蔬菜价格指数平台 — Python 采集子包(后台见 server/"
requires-python = ">=3.10"
dependencies = [
"httpx>=0.27,<1",
"pymysql>=1.1,<2",
"python-dotenv>=1.0,<2",
]
[project.optional-dependencies]
# 后续按需拆分dev、api、ingest 等
dev = ["pytest>=8", "ruff>=0.6"]
[project.scripts]
fao-ingest = "fao.ingest.cli:app"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]