[sdk/kde-builder] /: ! feat: Support installation with uv
Andrew Shark <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit aa3832bb0bda2584ffe8029aefb6bf46d9c199eb by Andrew Shark.
Committed on 08/08/2026 at 22:54.
Pushed by ashark into branch 'master'.
! feat: Support installation with uv
Fixes #205
M +15 -1 pyproject.toml
https://invent.kde.org/sdk/kde-builder/-/commit/aa3832bb0bda2584ffe8029aefb6bf46d9c199eb
diff --git a/pyproject.toml b/pyproject.toml
index 01c225fa..76963665 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,3 +1,7 @@
+[build-system]
+requires = ["hatchling", "hatch-vcs"]
+build-backend = "hatchling.build"
+
[project]
name = "kde-builder"
dynamic = ["version"]
@@ -18,5 +22,15 @@ dev = [
"pytest-cov",
]
+[project.scripts]
+kde-builder = "kde_builder.main:main"
+
[tool.uv]
-package = false
+package = true
+
+[tool.hatch.version]
+source = "vcs"
+raw-options = { version_scheme = "post-release" }
+
+[tool.hatch.build.targets.wheel]
+packages = ["kde_builder"]