From d2f8d215e3bf616623a11da6ba972c204ac00566 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Fri, 10 Apr 2026 13:43:33 +0200 Subject: [PATCH] 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. --- pyproject.toml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 688d10ba..8a2a7a1b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["uv_build>=0.11.2,<0.12.0"] -build-backend = "uv_build" +requires = ["hatchling"] +build-backend = "hatchling.build" [project] name = "python-gvm" @@ -47,10 +47,11 @@ dev = [ [tool.uv] default-groups = "all" -[tool.uv.build-backend] -module-name = ["gvm", "tests"] -module-root = "" -wheel-exclude = ["tests"] +[tool.hatch.build.targets.wheel] +packages = ["gvm"] + +[tool.hatch.build.targets.sdist] +include = ["docs", "tests", "gvm", "uv.lock"] [tool.ruff] line-length = 80