Skip to content

Commit b2db3ab

Browse files
authored
add setupstools_scm to get the version from the git tag
1 parent 867a84f commit b2db3ab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools"]
2+
requires = ["setuptools", "setuptools_scm>=8"]
33
build-backend = "setuptools.build_meta"
44

55

@@ -79,3 +79,5 @@ directory = "coverage_html_report"
7979

8080
[tool.pyright]
8181
include = ["src", "tests"]
82+
83+
[tool.setuptools_scm]

0 commit comments

Comments
 (0)