pyproject.toml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. [build-system]
  2. requires = ["hatchling"]
  3. build-backend = "hatchling.build"
  4. [project]
  5. name = "supply-agent"
  6. version = "0.1.0"
  7. description = "A modern, extensible AI Agent framework with OpenRouter, Tools, and Skills support"
  8. readme = "README.md"
  9. requires-python = ">=3.11"
  10. dependencies = [
  11. "openai>=1.50.0",
  12. "pydantic>=2.0",
  13. "pydantic-settings>=2.0",
  14. "httpx>=0.27.0",
  15. "rich>=13.0",
  16. "sqlalchemy>=2.0",
  17. "pymysql>=1.1",
  18. "apscheduler>=3.10",
  19. "python-dotenv>=1.0",
  20. "oss2>=2.18.0",
  21. "fastapi>=0.115.0",
  22. "uvicorn[standard]>=0.32.0",
  23. ]
  24. [project.optional-dependencies]
  25. odps = ["pyodps>=0.12"]
  26. dev = [
  27. "pytest>=8.0",
  28. "pytest-asyncio>=0.24",
  29. "ruff>=0.8",
  30. ]
  31. [tool.hatch.build.targets.wheel]
  32. packages = ["supply_agent", "supply_infra", "agents", "api"]
  33. [project.scripts]
  34. supply-scheduler = "supply_infra.scheduler.app:run_scheduler"
  35. supply-visualize = "supply_agent.logging.cli:main"
  36. supply-api = "api.run:main"
  37. [tool.ruff]
  38. line-length = 100
  39. target-version = "py311"
  40. [tool.pytest.ini_options]
  41. asyncio_mode = "auto"
  42. testpaths = ["tests"]