Skip to content

Commit 57451d2

Browse files
authored
pyproject.toml: use version_file (#969)
* Update pyproject.toml update to setuptools_scm>=8 syntax * Update pyproject.toml
1 parent 10a3664 commit 57451d2

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
build-backend = "setuptools.build_meta"
33
requires = [
44
"setuptools>=64",
5-
"setuptools-scm[toml]>=6.2",
5+
"setuptools-scm[toml]>=8",
66
"wheel",
77
]
88

@@ -99,8 +99,7 @@ where = [
9999
]
100100

101101
[tool.setuptools_scm]
102-
write_to = "weldx/_version.py"
103-
write_to_template = '__version__ = "{version}"'
102+
version_file = "weldx/_version.py"
104103

105104
[tool.nbqa.addopts]
106105
ruff = [

0 commit comments

Comments
 (0)