pyproject.toml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. "langgraph>=1.2.11,<2",
  28. "langchain>=1.3.15,<2",
  29. "langchain-openai>=1.4.3,<2",
  30. ]
  31. [project.optional-dependencies]
  32. odps = ["pyodps>=0.12"]
  33. media = ["imageio-ffmpeg>=0.5.1"]
  34. dev = [
  35. "pytest>=8.0",
  36. "pytest-asyncio>=0.24",
  37. "ruff>=0.8",
  38. ]
  39. [tool.hatch.build.targets.wheel]
  40. packages = ["supply_agent", "supply_infra", "agents", "api", "find_agent_v2"]
  41. [project.scripts]
  42. supply-visualize = "supply_agent.logging.cli:main"
  43. supply-api = "api.run:main"
  44. supply-scheduler = "supply_infra.scheduler.__main__:main"
  45. supply-pipeline = "supply_infra.pipeline.cli:main"
  46. find-agent-v2-test = "find_agent_v2.test_entry:main"
  47. [tool.ruff]
  48. line-length = 100
  49. target-version = "py311"
  50. [tool.pytest.ini_options]
  51. asyncio_mode = "auto"
  52. testpaths = ["tests"]