Skip to content

Commit 56820bf

Browse files
committed
Use setuptools_scm
1 parent 8f597c8 commit 56820bf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[build-system]
2-
requires = ["setuptools>=64"]
2+
requires = ["setuptools>=64", "setuptools-scm[toml"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "test_sonar"
77
version = "0.1.0"
88

9+
910
description = "Test sonarqube integration on github"
1011
readme = "README.md"
1112
authors = [
@@ -14,13 +15,17 @@ authors = [
1415
license = {text = "MIT License"}
1516
requires-python = ">=3.10"
1617

18+
dynamic = ["version"]
19+
1720
[project.optional-dependencies]
1821

1922
tests = [
2023
"pytest >= 7.0",
2124
"pytest-cov",
2225
]
2326

27+
[tool.setuptools_scm]
28+
2429
[tool.pytest.ini_options]
2530
minversion = "7"
2631
testpaths = ["src"]

0 commit comments

Comments
 (0)