mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-17 18:46:36 +02:00
16 lines
492 B
Diff
16 lines
492 B
Diff
# Use vcs plugin instead of versioningit for hatch version. Not only is the former packaged for Alpine, it allows
|
|
# overriding the version using the SETUPTOOLS_SCM_PRETEND_VERSION variable instead of needing to manually patch a file.
|
|
diff --git i/pyproject.toml w/pyproject.toml
|
|
index ebf3f1a..6af71c3 100644
|
|
--- i/pyproject.toml
|
|
+++ w/pyproject.toml
|
|
@@ -53,7 +53,7 @@ dev = [
|
|
]
|
|
|
|
[tool.hatch.version]
|
|
-source = "versioningit"
|
|
+source = "vcs"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
include = [
|