markitect-main/markitect/__version__.py

16 lines
441 B
Python
Raw Normal View History

"""
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__