|
| 1 | +[project] |
| 2 | +# Project metadata. Available keys are documented at: |
| 3 | +# https://packaging.python.org/en/latest/specifications/declaring-project-metadata |
| 4 | + |
| 5 | +name = "google-adk-community" |
| 6 | +description = "Agent Development Kit Community Repo" |
| 7 | +readme = "README.md" |
| 8 | +requires-python = ">=3.9" |
| 9 | +license = { file = "LICENSE" } |
| 10 | +authors = [{ name = "Google LLC", email = "googleapis-packages@google.com" }] |
| 11 | +classifiers = [ # List of https://pypi.org/classifiers/ |
| 12 | + "Typing :: Typed", |
| 13 | + "Intended Audience :: Developers", |
| 14 | + "Intended Audience :: Science/Research", |
| 15 | + "Programming Language :: Python", |
| 16 | + "Programming Language :: Python :: 3", |
| 17 | + "Programming Language :: Python :: 3.9", |
| 18 | + "Programming Language :: Python :: 3.10", |
| 19 | + "Programming Language :: Python :: 3.11", |
| 20 | + "Programming Language :: Python :: 3.12", |
| 21 | + "Programming Language :: Python :: 3.13", |
| 22 | + "Operating System :: OS Independent", |
| 23 | + "Topic :: Software Development :: Libraries :: Python Modules", |
| 24 | + "License :: OSI Approved :: Apache Software License", |
| 25 | +] |
| 26 | +dependencies = [ |
| 27 | + # go/keep-sorted start |
| 28 | + "google-genai>=1.21.1, <2.0.0", # Google GenAI SDK |
| 29 | + "google-adk", # Google ADK |
| 30 | + # go/keep-sorted end |
| 31 | +] |
| 32 | +dynamic = ["version"] |
| 33 | + |
| 34 | +[project.urls] |
| 35 | +homepage = "https://google.github.io/adk-docs/" |
| 36 | +repository = "https://github.com/google/adk-python-community" |
| 37 | +changelog = "https://github.com/google/adk-python-community/blob/main/CHANGELOG.md" |
| 38 | +documentation = "https://google.github.io/adk-docs/" |
| 39 | + |
| 40 | + |
| 41 | +[tool.pyink] |
| 42 | +# Format py files following Google style-guide |
| 43 | +line-length = 80 |
| 44 | +unstable = true |
| 45 | +pyink-indentation = 2 |
| 46 | +pyink-use-majority-quotes = true |
| 47 | +pyink-annotation-pragmas = [ |
| 48 | + "noqa", |
| 49 | + "pylint:", |
| 50 | + "type: ignore", |
| 51 | + "pytype:", |
| 52 | + "mypy:", |
| 53 | + "pyright:", |
| 54 | + "pyre-", |
| 55 | +] |
| 56 | + |
| 57 | + |
| 58 | +[build-system] |
| 59 | +# Build system specify which backend is used to build/install the project (flit, |
| 60 | +# poetry, setuptools,...). All backends are supported by `pip install` |
| 61 | +requires = ["flit_core >=3.8,<4"] |
| 62 | +build-backend = "flit_core.buildapi" |
| 63 | + |
| 64 | + |
| 65 | +[tool.flit.sdist] |
| 66 | +include = ['src/**/*', 'README.md', 'pyproject.toml', 'LICENSE'] |
| 67 | +exclude = ['src/**/*.sh'] |
| 68 | + |
| 69 | + |
| 70 | +[tool.flit.module] |
| 71 | +name = "google.adk_community" |
| 72 | +include = ["py.typed"] |
| 73 | + |
| 74 | + |
| 75 | +[tool.isort] |
| 76 | +profile = "google" |
| 77 | +single_line_exclusions = [] |
| 78 | +line_length = 200 # Prevent line wrap flickering. |
| 79 | +known_third_party = ["google.adk"] |
| 80 | + |
| 81 | + |
| 82 | +[tool.pytest.ini_options] |
| 83 | +testpaths = ["tests"] |
| 84 | +asyncio_default_fixture_loop_scope = "function" |
| 85 | +asyncio_mode = "auto" |
| 86 | + |
| 87 | + |
| 88 | +[tool.mypy] |
| 89 | +python_version = "3.9" |
| 90 | +exclude = "tests/" |
| 91 | +plugins = ["pydantic.mypy"] |
| 92 | +# Start with non-strict mode, and swtich to strict mode later. |
| 93 | +# strict = true |
| 94 | +disable_error_code = ["import-not-found", "import-untyped", "unused-ignore"] |
| 95 | +follow_imports = "skip" |
0 commit comments