Skip to content

Commit 8c0d39b

Browse files
committed
Configured automatic versioning based on git tags.
1 parent 14e1d6e commit 8c0d39b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

pyproject.toml

+6-3
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
build-backend = "setuptools.build_meta"
33
requires = [
44
"setuptools >= 61",
5+
"setuptools_scm[toml] >= 6.2",
56
"wheel"
67
]
78

89
[project]
9-
name = "dp3"
10-
version = "0.3.0"
10+
name = "dp-cubed"
1111
authors = [
1212
{ name = "Vaclav Bartos" },
1313
{ email = "[email protected]" },
@@ -27,7 +27,10 @@ classifiers = [
2727
"Intended Audience :: Developers",
2828
]
2929
requires-python = ">=3.9"
30-
dynamic = ["dependencies", "optional-dependencies"]
30+
dynamic = ["version", "dependencies", "optional-dependencies"]
31+
32+
[tool.setuptools_scm]
33+
version_scheme = "python-simplified-semver"
3134

3235
[project.scripts]
3336
api = "dp3.bin.api:run"

0 commit comments

Comments
 (0)