pyproject.toml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. "alembic>=1.13",
  19. "requests>=2.32",
  20. "apscheduler>=3.10",
  21. "python-dotenv>=1.0",
  22. "oss2>=2.18.0",
  23. "fastapi>=0.115.0",
  24. "uvicorn[standard]>=0.32.0",
  25. "markdown>=3.6",
  26. "obagent-sdk>=0.5.6",
  27. ]
  28. [project.optional-dependencies]
  29. odps = ["pyodps>=0.12"]
  30. media = ["imageio-ffmpeg>=0.5.1"]
  31. dev = [
  32. "pytest>=8.0",
  33. "pytest-asyncio>=0.24",
  34. "ruff>=0.8",
  35. ]
  36. [tool.hatch.build.targets.wheel]
  37. packages = ["supply_agent", "supply_infra", "agents", "api", "find_agent_v2"]
  38. [project.scripts]
  39. supply-visualize = "supply_agent.logging.cli:main"
  40. supply-api = "api.run:main"
  41. supply-scheduler = "supply_infra.scheduler.__main__:main"
  42. supply-pipeline = "supply_infra.pipeline.cli:main"
  43. find-agent-v2-test = "find_agent_v2.test_entry:main"
  44. [tool.ruff]
  45. line-length = 100
  46. target-version = "py311"
  47. [tool.pytest.ini_options]
  48. asyncio_mode = "auto"
  49. testpaths = ["tests"]