pyproject.toml 811 B

123456789101112131415161718192021222324252627282930
  1. [build-system]
  2. requires = ["setuptools>=61"]
  3. build-backend = "setuptools.build_meta"
  4. [project]
  5. name = "chapter16-historical-review"
  6. version = "0.1.0"
  7. description = "第十六章:多角色历史辩论示例(historical_review)"
  8. readme = "README.md"
  9. requires-python = ">=3.10"
  10. dependencies = [
  11. "hello-agents>=0.1.0",
  12. "python-dotenv>=1.0.0",
  13. "requests>=2.31.0",
  14. "duckduckgo-search>=7.0.0",
  15. "huggingface_hub>=0.25.0",
  16. "fastapi>=0.115.0",
  17. "uvicorn[standard]>=0.32.0",
  18. ]
  19. [project.scripts]
  20. history-review = "historical_review.run_agent:main"
  21. history-review-web = "historical_review.web.cli:main"
  22. [tool.setuptools.packages.find]
  23. where = ["."]
  24. include = ["historical_review*"]
  25. [tool.setuptools.package-data]
  26. "historical_review.web" = ["static/*.html", "static/*.css", "static/*.js"]