Skip to content

Commit cf7cd2e

Browse files
committed
build: Use setuptools-scm for versioning
Branch: PyPIPush Signed-off-by: Gabe Goodhart <ghart@us.ibm.com>
1 parent b50e6d8 commit cf7cd2e

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
# - wheel is needed by most build front-ends
55
# ----------------------------------------------------------------
66
[build-system]
7-
requires = ["setuptools>=77", "wheel"]
7+
requires = ["setuptools>=80", "setuptools-scm>=8"]
88
build-backend = "setuptools.build_meta"
99

1010
# ----------------------------------------------------------------
1111
# 📦 Core project metadata (PEP 621)
1212
# ----------------------------------------------------------------
1313
[project]
1414
name = "cforge"
15-
version = "0.9.0"
15+
dynamic = ["version"]
1616
description = "CLI for Context Forge allowing seamless management of local or hosted MCP and A2A resources."
1717
keywords = ["MCP","API","gateway","proxy","tools",
1818
"agents","agentic ai","model context protocol","multi-agent","fastapi",
@@ -104,6 +104,9 @@ cforge = [
104104
"py.typed",
105105
]
106106

107+
[tool.setuptools_scm]
108+
version_file = "cforge/_version.py"
109+
107110
# --------------------------------------------------------------------
108111
# 🛠 Tool configurations (black, mypy, etc.)
109112
# --------------------------------------------------------------------

0 commit comments

Comments
 (0)