[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"]