summaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
authorThomas Waldmann <tw@waldmann-edv.de>2022-04-07 19:11:15 +0200
committerThomas Waldmann <tw@waldmann-edv.de>2022-04-07 19:11:15 +0200
commit9642ace95324cb7800004afcd63a345116dfbfbb (patch)
tree0210b22dbf91bf063465a7ffdd59b5cd095e5ec8 /pyproject.toml
parent269b94828458dfcea6c684e925ec61d9d16bd214 (diff)
require/configure setuptools_scm via pyproject.toml
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/pyproject.toml b/pyproject.toml
index cda60db81..0ab3879e6 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,3 +1,6 @@
[build-system]
-requires = ["setuptools", "pkgconfig", "Cython!=0.27"]
+requires = ["setuptools", "pkgconfig", "Cython!=0.27", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
+
+[tool.setuptools_scm]
+write_to = "src/borg/_version.py"