From ad347ff2be0696ba1042ab8ab2f3bacae3059fd1 Mon Sep 17 00:00:00 2001 From: Dushyant Behl Date: Tue, 11 Nov 2025 19:33:51 +0530 Subject: [PATCH] fix: add setup scm version config to pyproject for correct version tag while building wheel. fix: add setup scm version config to pyproject for correct version tag while building wheel. Signed-off-by: Dushyant Behl --- pyproject.toml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e1f1085520..a5a2dac80c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,13 +13,12 @@ authors = [ {name = "Sukriti Sharma", email = "sukriti.sharma4@ibm.com"}, {name = "Anh Uong", email = "anh.uong@ibm.com"}, ] -license = {text = "Apache-2.0"} +license = "Apache-2.0" readme = "README.md" requires-python = "~=3.9" keywords = ['fms-hf-tuning', 'python', 'tuning'] classifiers=[ - "License :: OSI Approved :: Apache Software License", - "Development Status :: 4 - Beta", + "Development Status :: 5 - Stable", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", @@ -57,6 +56,9 @@ scanner-dev = ["HFResourceScanner>=0.1.0"] exclude = ["tests", "tests.*"] namespaces = false +[tool.setuptools_scm] +version_file = "tuning/_version.py" + [project.urls] Homepage = "https://github.com/foundation-model-stack/fms-hf-tuning" Repository = "https://github.com/foundation-model-stack/fms-hf-tuning"