Skip to content

Commit 6d36a2c

Browse files
authored
Migrate to the uv build backend (#45)
1 parent ad37e41 commit 6d36a2c

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

pyproject.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ homepage = "https://github.com/DoctorJohn/django-admin-anchors"
3838
repository = "https://github.com/DoctorJohn/django-admin-anchors"
3939
documentation = "https://github.com/DoctorJohn/django-admin-anchors"
4040

41-
[build-system]
42-
requires = ["hatchling"]
43-
build-backend = "hatchling.build"
44-
4541
[dependency-groups]
4642
dev = [
4743
"pre-commit>=4.2.0",
@@ -52,8 +48,13 @@ dev = [
5248
"ruff>=0.11.6",
5349
]
5450

55-
[tool.hatch.build.targets.wheel]
56-
packages = ["admin_anchors"]
51+
[build-system]
52+
requires = ["uv_build>=0.9.24,<0.10.0"]
53+
build-backend = "uv_build"
54+
55+
[tool.uv.build-backend]
56+
module-root = ""
57+
module-name = "admin_anchors"
5758

5859
[tool.ruff.lint]
5960
extend-select = ["I", "UP"]

0 commit comments

Comments
 (0)