pyproject.toml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. [project]
  2. name = "cyber-agent"
  3. version = "0.4.0"
  4. description = "模块化、可扩展的 Agent 框架"
  5. readme = "README.md"
  6. requires-python = ">=3.11"
  7. dependencies = [
  8. "httpx[socks]>=0.28.0",
  9. "python-dotenv>=1.0.0",
  10. "pydantic",
  11. "pillow>=10.0.0",
  12. "python-dateutil>=2.9.0",
  13. "filelock>=3.15.0",
  14. ]
  15. [project.optional-dependencies]
  16. dev = [
  17. "pytest>=8.0",
  18. "pytest-asyncio>=0.23",
  19. "pytest-cov>=5.0",
  20. ]
  21. browser = [
  22. "browser-use>=0.11.0",
  23. "langchain_core>=0.3.0",
  24. ]
  25. server = [
  26. "fastapi>=0.115.0",
  27. "uvicorn[standard]>=0.32.0",
  28. "websockets>=13.0",
  29. ]
  30. feishu = [
  31. "lark-oapi==1.5.3",
  32. ]
  33. all = [
  34. "browser-use>=0.11.0",
  35. "langchain_core>=0.3.0",
  36. "fastapi>=0.115.0",
  37. "uvicorn[standard]>=0.32.0",
  38. "websockets>=13.0",
  39. "lark-oapi==1.5.3",
  40. ]
  41. [build-system]
  42. requires = ["setuptools>=68.0"]
  43. build-backend = "setuptools.build_meta"
  44. [tool.setuptools.packages.find]
  45. include = ["agent*"]
  46. [tool.pytest.ini_options]
  47. asyncio_mode = "auto"
  48. testpaths = ["tests"]
  49. pythonpath = ["."]