Skip to content

Commit a49afa3

Browse files
auto version numbering based on git tag
1 parent 4c60162 commit a49afa3

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

dev-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ wheel==0.45.1
238238
# via pip-tools
239239
zipp==3.20.2
240240
# via importlib-metadata
241-
241+
setuptools-scm==8.3.1
242242
# The following packages are considered to be unsafe in a requirements file:
243243
# pip
244244
# setuptools

pyproject.toml

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

55
[project]
@@ -8,7 +8,7 @@ authors = [
88
{name = "Flexiblepower", email = "info@info.nl"}
99
]
1010
description = "S2 Protocol Python Wrapper"
11-
version = "0.6.0"
11+
dynamic = ["version"]
1212
readme = "README.rst"
1313
license = "Apache-2.0"
1414
license-files = ["LICENSE"]
@@ -26,6 +26,11 @@ classifiers = [
2626
"Programming Language :: Python :: 3.12",
2727
"Programming Language :: Python :: 3.13",
2828
]
29+
30+
[tool.setuptools_scm]
31+
version_scheme = "no-guess-dev"
32+
local_scheme = "no-local-version"
33+
2934
[project.urls]
3035
"Source code" = "https://github.com/flexiblepower/s2-ws-json-python"
3136

0 commit comments

Comments
 (0)