Skip to content

Commit 5e86683

Browse files
committed
Update install docs
1 parent 7060a99 commit 5e86683

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

core/_version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ def _is_development_version() -> bool:
9696
"""Check if this is a development version"""
9797
return __prerelease__ is not None or _get_git_version() is not None
9898

99-
# Public API
100-
__version__ = _get_version_string()
99+
# Public API - Static version for build tools
100+
__version__ = "0.8.0" # Updated by version manager
101101
__version_info_tuple__ = VersionInfo(
102102
major=__version_info__[0],
103103
minor=__version_info__[1],

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ Issues = "https://github.com/s4dhulabs/vimana-framework/issues"
9696

9797
[tool.hatch.version]
9898
path = "core/_version.py"
99+
pattern = "__version__ = ['\"](?P<version>[^'\"]+)['\"]"
99100

100101
[tool.hatch.build.targets.wheel]
101102
packages = ["vimana"]

0 commit comments

Comments
 (0)