"""Version information for MCA SDK.

This module provides version information using a fallback hierarchy:
1. Try _version.py (generated by build tools)
2. Try importlib.metadata (when installed as package)
3. Fallback to "unknown" (development/uninstalled environments)
"""

try:
    from ._version import version as __version__
except ImportError:
    try:
        from importlib.metadata import version, PackageNotFoundError

        __version__ = version("mca-sdk")
    except (ImportError, PackageNotFoundError):
        __version__ = "unknown"
