Skip to content

Commit 9142a5f

Browse files
committed
use setuptools-scm for versioning
1 parent 5c35900 commit 9142a5f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pyproject.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "icebert-pos"
3-
version = "0.1.0"
3+
dynamic = ["version"] # managed by setuptools-scm
44
description = "A package for interacting with the IceBERT PoS model(s)."
55
readme = "README.md"
66
requires-python = ">=3.10,<4.0"
@@ -19,10 +19,12 @@ dev = [
1919
"ruff",
2020
]
2121

22+
[tool.setuptools_scm]
23+
# Use git tags for versioning
24+
2225
[tool.ruff]
2326
line-length = 120
2427

25-
# "some" build system
2628
[build-system]
27-
requires = ["setuptools"]
29+
requires = ["setuptools>=64", "setuptools-scm>=8"]
2830
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)