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 1.9 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. [build-system]
  2. requires = ["hatchling"]
  3. build-backend = "hatchling.build"
  4. [project]
  5. name = "autogen-ext"
  6. version = "0.4.0.dev8"
  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.dev8",
  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 = ["markitdown>=0.0.1a2"]
  25. web-surfer = [
  26. "playwright>=1.48.0",
  27. "pillow>=11.0.0",
  28. ]
  29. magentic-one = [
  30. "markitdown>=0.0.1a2",
  31. "playwright>=1.48.0",
  32. "pillow>=11.0.0",
  33. ]
  34. video-surfer = [
  35. "autogen-agentchat==0.4.0.dev8",
  36. "opencv-python>=4.5",
  37. "ffmpeg-python",
  38. "openai-whisper",
  39. ]
  40. grpc = [
  41. "grpcio~=1.62.0", # TODO: update this once we have a stable version.
  42. ]
  43. [tool.hatch.build.targets.wheel]
  44. packages = ["src/autogen_ext"]
  45. [tool.uv]
  46. dev-dependencies = [
  47. "autogen_test_utils"
  48. ]
  49. [tool.ruff]
  50. extend = "../../pyproject.toml"
  51. include = ["src/**", "tests/*.py"]
  52. exclude = ["src/autogen_ext/agents/web_surfer/*.js", "src/autogen_ext/runtimes/grpc/protos", "tests/protos"]
  53. [tool.pyright]
  54. extends = "../../pyproject.toml"
  55. include = ["src", "tests"]
  56. exclude = ["src/autogen_ext/runtimes/grpc/protos", "tests/protos"]
  57. [tool.pytest.ini_options]
  58. minversion = "6.0"
  59. testpaths = ["tests"]
  60. [tool.poe]
  61. include = "../../shared_tasks.toml"
  62. [tool.poe.tasks]
  63. test = "pytest -n auto"
  64. mypy = "mypy --config-file ../../pyproject.toml --exclude src/autogen_ext/runtimes/grpc/protos --exclude tests/protos src tests"
  65. [tool.mypy]
  66. [[tool.mypy.overrides]]
  67. module = "docker.*"
  68. ignore_missing_imports = true