- Remove manual version management in favor of git tag-based versioning - Simplify __version__.py to import from generated _version.py - Add simplified release_simplified.py script - Add _version.py to .gitignore (auto-generated) 🚀 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
16 lines
441 B
Python
16 lines
441 B
Python
"""
|
|
Version information for MarkiTect.
|
|
|
|
This module provides version information using setuptools-scm.
|
|
Version is automatically derived from git tags.
|
|
"""
|
|
|
|
try:
|
|
from ._version import version as __version__
|
|
except ImportError:
|
|
# Fallback when _version.py is not available (e.g., during development without setuptools-scm)
|
|
__version__ = "unknown"
|
|
|
|
def get_version():
|
|
"""Get the current version string."""
|
|
return __version__ |