Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit ddfc6b1

Browse files
authored
dynamic version (#6)
Signed-off-by: Yu Chin Fabian Lim <flim@sg.ibm.com>
1 parent 541403f commit ddfc6b1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pyproject.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ authors = [
1010
{ name="InstructLab", email="dev@instructlab.ai" },
1111
]
1212
description = "Dolomite Engine"
13-
version = "0.0.1.dev"
1413
readme = "README.md"
1514
license = {text = "Apache-2.0"}
1615
requires-python = ">=3.10"
@@ -28,7 +27,7 @@ classifiers = [
2827
"Programming Language :: Python :: 3.12",
2928
"Programming Language :: Python :: Implementation :: CPython",
3029
]
31-
dynamic = ["dependencies"]
30+
dynamic = ["dependencies", "version"]
3231

3332
[project.scripts]
3433

@@ -37,6 +36,11 @@ homepage = "https://instructlab.ai"
3736
source = "https://github.com/instructlab/GPTDolomite"
3837
issues = "https://github.com/instructlab/GPTDolomite/issues"
3938

39+
[tool.setuptools_scm]
40+
version_file = "src/instructlab/dolomite/_version.py"
41+
# do not include +gREV local version, required for Test PyPI upload
42+
local_scheme = "no-local-version"
43+
4044
[tool.setuptools]
4145
package-dir = {"" = "src"}
4246

0 commit comments

Comments
 (0)