Skip to content

Commit d5082e3

Browse files
bjoernricksgreenbonebot
authored andcommitted
Misc: Use hatchling as build backend
Currently the `uv_build` build backend is not available on Debian. Therefore package builds are not possible with this build backend.
1 parent 57cb5e1 commit d5082e3

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
@@ -1,6 +1,6 @@
11
[build-system]
2-
requires = ["uv_build>=0.11.2,<0.12.0"]
3-
build-backend = "uv_build"
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
44

55
[project]
66
name = "python-gvm"
@@ -47,10 +47,11 @@ dev = [
4747
[tool.uv]
4848
default-groups = "all"
4949

50-
[tool.uv.build-backend]
51-
module-name = ["gvm", "tests"]
52-
module-root = ""
53-
wheel-exclude = ["tests"]
50+
[tool.hatch.build.targets.wheel]
51+
packages = ["gvm"]
52+
53+
[tool.hatch.build.targets.sdist]
54+
include = ["docs", "tests", "gvm", "uv.lock"]
5455

5556
[tool.ruff]
5657
line-length = 80

0 commit comments

Comments
 (0)