You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

pyproject.toml 2.1 kB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. [build-system]
  2. requires = ["hatchling"]
  3. build-backend = "hatchling.build"
  4. [project]
  5. name = "autogen-ext"
  6. version = "0.4.0.dev11"
  7. license = {file = "LICENSE-CODE"}
  8. description = "AutoGen extensions library"
  9. readme = "README.md"
  10. requires-python = ">=3.10"
  11. classifiers = [
  12. "Programming Language :: Python :: 3",
  13. "License :: OSI Approved :: MIT License",
  14. "Operating System :: OS Independent",
  15. ]
  16. dependencies = [
  17. "autogen-core==0.4.0.dev11",
  18. ]
  19. [project.optional-dependencies]
  20. langchain = ["langchain_core~= 0.3.3"]
  21. azure = ["azure-core", "azure-identity"]
  22. docker = ["docker~=7.0"]
  23. openai = ["openai>=1.3", "aiofiles"]
  24. file-surfer = [
  25. "autogen-agentchat==0.4.0.dev11",
  26. "markitdown>=0.0.1a2",
  27. ]
  28. web-surfer = [
  29. "autogen-agentchat==0.4.0.dev11",
  30. "playwright>=1.48.0",
  31. "pillow>=11.0.0",
  32. "markitdown>=0.0.1a2",
  33. ]
  34. magentic-one = [
  35. "autogen-agentchat==0.4.0.dev11",
  36. "markitdown>=0.0.1a2",
  37. "playwright>=1.48.0",
  38. "pillow>=11.0.0",
  39. ]
  40. video-surfer = [
  41. "autogen-agentchat==0.4.0.dev11",
  42. "opencv-python>=4.5",
  43. "ffmpeg-python",
  44. "openai-whisper",
  45. ]
  46. grpc = [
  47. "grpcio~=1.62.0", # TODO: update this once we have a stable version.
  48. ]
  49. [tool.hatch.build.targets.wheel]
  50. packages = ["src/autogen_ext"]
  51. [tool.uv]
  52. dev-dependencies = [
  53. "autogen_test_utils"
  54. ]
  55. [tool.ruff]
  56. extend = "../../pyproject.toml"
  57. include = ["src/**", "tests/*.py"]
  58. exclude = ["src/autogen_ext/agents/web_surfer/*.js", "src/autogen_ext/runtimes/grpc/protos", "tests/protos"]
  59. [tool.pyright]
  60. extends = "../../pyproject.toml"
  61. include = ["src", "tests"]
  62. exclude = ["src/autogen_ext/runtimes/grpc/protos", "tests/protos"]
  63. [tool.pytest.ini_options]
  64. minversion = "6.0"
  65. testpaths = ["tests"]
  66. [tool.poe]
  67. include = "../../shared_tasks.toml"
  68. [tool.poe.tasks]
  69. test.sequence = [
  70. "playwright install",
  71. "pytest -n auto",
  72. ]
  73. test.default_item_type = "cmd"
  74. mypy = "mypy --config-file ../../pyproject.toml --exclude src/autogen_ext/runtimes/grpc/protos --exclude tests/protos src tests"
  75. [tool.mypy]
  76. [[tool.mypy.overrides]]
  77. module = "docker.*"
  78. ignore_missing_imports = true