pyproject.toml 752 B

123456789101112131415161718192021222324252627282930313233
  1. [build-system]
  2. requires = ["setuptools>=61", "wheel"]
  3. build-backend = "setuptools.build_meta"
  4. [project]
  5. name = "finrep-algo-agent"
  6. version = "0.1.0"
  7. description = "财顾报告 Agent — Python 算法服务(FastAPI)"
  8. readme = "README.md"
  9. requires-python = ">=3.11"
  10. dependencies = [
  11. "fastapi>=0.110",
  12. "uvicorn[standard]>=0.27",
  13. "pydantic>=2",
  14. "pydantic-settings>=2",
  15. "httpx>=0.27",
  16. "jinja2>=3.1",
  17. "python-multipart>=0.0.9",
  18. "pypdf>=4.0",
  19. ]
  20. [project.optional-dependencies]
  21. dev = ["pytest>=8", "pytest-asyncio>=0.24"]
  22. [tool.setuptools.packages.find]
  23. where = ["src"]
  24. [tool.setuptools.package-data]
  25. finrep_algo_agent = ["prompts/templates/*.j2"]
  26. [tool.pytest.ini_options]
  27. asyncio_mode = "auto"
  28. testpaths = ["tests"]