Skip to content

Commit 79237e9

Browse files
committed
Switch build backend to hatchling
1 parent 520b319 commit 79237e9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
2-
requires = ["setuptools>=61.0"]
3-
build-backend = "setuptools.build_meta"
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
44

55
[project]
66
name = "django-pgcrypto"
@@ -25,11 +25,11 @@ dynamic = ["version"]
2525
[project.urls]
2626
Repository = "https://github.com/dcwatson/django-pgcrypto"
2727

28-
[tool.setuptools]
28+
[tool.hatch.build.targets.wheel]
2929
packages = ["pgcrypto"]
3030

31-
[tool.setuptools.dynamic]
32-
version = {attr = "pgcrypto.__version__"}
31+
[tool.hatch.version]
32+
path = "pgcrypto/base.py"
3333

3434
[tool.uv]
3535
dev-dependencies = [

0 commit comments

Comments
 (0)