Skip to content

Commit 041c89f

Browse files
committed
Setup repo for publishing
1 parent ac31ebe commit 041c89f

File tree

2 files changed

+104
-3
lines changed

2 files changed

+104
-3
lines changed

pyproject.toml

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
[project]
22
name = "a2a-sdk"
3-
version = "0.2.0"
3+
dynamic = ["version"]
44
description = "A2A Python SDK"
55
readme = "README.md"
6+
license = { file = "LICENSE" }
7+
authors = [{ name = "Google LLC", email = "[email protected]" }]
68
requires-python = ">=3.13"
9+
keywords = ["A2A", "A2A SDK", "A2A Protocol", "Agent2Agent"]
710
dependencies = [
811
"httpx>=0.28.1",
912
"httpx-sse>=0.4.0",
@@ -15,6 +18,23 @@ dependencies = [
1518
"typing-extensions>=4.13.2",
1619
]
1720

21+
classifiers = [
22+
"Typing :: Typed",
23+
"Intended Audience :: Developers",
24+
"Programming Language :: Python",
25+
"Programming Language :: Python :: 3",
26+
"Programming Language :: Python :: 3.13",
27+
"Operating System :: OS Independent",
28+
"Topic :: Software Development :: Libraries :: Python Modules",
29+
"License :: OSI Approved :: Apache Software License",
30+
]
31+
32+
[project.urls]
33+
homepage = "https://google.github.io/A2A/"
34+
repository = "https://github.com/google/a2a-python"
35+
changelog = "https://github.com/google/a2a-python/blob/main/CHANGELOG.md"
36+
documentation = "https://google.github.io/A2A/"
37+
1838
[tool.hatch.build.targets.wheel]
1939
packages = ["src/a2a"]
2040

@@ -25,9 +45,21 @@ python_functions = "test_*"
2545
addopts = "--cov=src --cov-config=.coveragerc --cov-report term --cov-report xml:coverage.xml --cov-branch"
2646

2747
[build-system]
28-
requires = ["hatchling"]
48+
requires = ["hatchling", "uv-dynamic-versioning"]
2949
build-backend = "hatchling.build"
3050

51+
[tool.hatch.version]
52+
source = "uv-dynamic-versioning"
53+
54+
[tool.hatch.build.targets.sdist]
55+
exclude = [
56+
"tests/",
57+
]
58+
59+
[tool.uv-dynamic-versioning]
60+
vcs = "git"
61+
style = "pep440"
62+
3163
[tool.uv.workspace]
3264
members = [
3365
"examples/langgraph",
@@ -45,4 +77,11 @@ dev = [
4577
"pytest-cov>=6.1.1",
4678
"pytest-mock>=3.14.0",
4779
"ruff>=0.11.6",
80+
"uv-dynamic-versioning>=0.8.2",
4881
]
82+
83+
[[tool.uv.index]]
84+
name = "testpypi"
85+
url = "https://test.pypi.org/simple/"
86+
publish-url = "https://test.pypi.org/legacy/"
87+
explicit = true

uv.lock

Lines changed: 63 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)