pyproject.toml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. "markdown>=3.6",
  24. ]
  25. [project.optional-dependencies]
  26. odps = ["pyodps>=0.12"]
  27. dev = [
  28. "pytest>=8.0",
  29. "pytest-asyncio>=0.24",
  30. "ruff>=0.8",
  31. ]
  32. [tool.hatch.build.targets.wheel]
  33. packages = ["supply_agent", "supply_infra", "agents", "api"]
  34. [project.scripts]
  35. supply-scheduler = "supply_infra.scheduler.app:run_scheduler"
  36. supply-visualize = "supply_agent.logging.cli:main"
  37. supply-api = "api.run:main"
  38. [tool.ruff]
  39. line-length = 100
  40. target-version = "py311"
  41. [tool.pytest.ini_options]
  42. asyncio_mode = "auto"
  43. testpaths = ["tests"]