Skip to content

Commit

Permalink
dynamic version
Browse files Browse the repository at this point in the history
Signed-off-by: Yu Chin Fabian Lim <flim@sg.ibm.com>
  • Loading branch information
fabianlim committed Jul 10, 2024
1 parent 541403f commit 10eae21
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ authors = [
{ name="InstructLab", email="dev@instructlab.ai" },
]
description = "Dolomite Engine"
version = "0.0.1.dev"
readme = "README.md"
license = {text = "Apache-2.0"}
requires-python = ">=3.10"
Expand All @@ -28,7 +27,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
]
dynamic = ["dependencies"]
dynamic = ["dependencies", "version"]

[project.scripts]

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

[tool.setuptools_scm]
version_file = "src/instructlab/dolomite/_version.py"
# do not include +gREV local version, required for Test PyPI upload
local_scheme = "no-local-version"

[tool.setuptools]
package-dir = {"" = "src"}

Expand Down

0 comments on commit 10eae21

Please sign in to comment.