Skip to content

Commit f6084e3

Browse files
committed
Use uv build backend
1 parent 66757dc commit f6084e3

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

pyproject.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[project]
22
name = "protovalidate"
3+
version = "2.0.0"
34
description = "Protocol Buffer Validation for Python"
45
readme = "README.md"
56
requires-python = ">=3.10"
@@ -28,7 +29,6 @@ dependencies = [
2829
"google-re2>=1.1; python_version == '3.12'",
2930
"protobuf-py>=0.1.1",
3031
]
31-
dynamic = ["version"]
3232

3333
[project.urls]
3434
Documentation = "https://protovalidate.com"
@@ -66,12 +66,8 @@ dev = [
6666
]
6767

6868
[build-system]
69-
requires = ["hatch-vcs", "hatchling"]
70-
build-backend = "hatchling.build"
71-
72-
[tool.hatch.version]
73-
source = "vcs"
74-
raw-options = { fallback_version = "0.0.0" }
69+
requires = ["uv_build>=0.11.2,<0.12"]
70+
build-backend = "uv_build"
7571

7672
## License headers
7773
[tool.licenseheader]
@@ -165,3 +161,7 @@ split-on-trailing-comma = false
165161

166162
[tool.ruff.lint.pydocstyle]
167163
convention = "google"
164+
165+
[tool.uv.build-backend]
166+
module-name = "protovalidate"
167+
module-root = ""

uv.lock

Lines changed: 2 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)