Skip to content

Commit 36bbf92

Browse files
committed
chore(pyproject.toml): change version to dynamic to allow versioning via version.py
feat(version.py): add version.py file to manage project version dynamically
1 parent 72aa0b2 commit 36bbf92

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "mcp-text-editor"
3-
version = "0.1.0"
3+
dynamic = ["version"]
44
description = "MCP Text Editor Server - Edit text files via MCP protocol"
55
authors = [
66
{ name = "tumf" }
@@ -74,4 +74,7 @@ explicit_package_bases = true
7474
mypy_path = "src"
7575

7676
[tool.hatch.build.targets.wheel]
77-
packages = ["src/mcp_text_editor"]
77+
78+
79+
[tool.hatch.version]
80+
path = "src/mcp_text_editor/version.py"

src/mcp_text_editor/version.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = "0.0.0-dev"

0 commit comments

Comments
 (0)