25 lines
603 B
Python
25 lines
603 B
Python
# Kyler Olsen
|
|
# YREA SLS
|
|
# Meta File (Python port)
|
|
# November 2025
|
|
|
|
import sys
|
|
try:
|
|
from ._version import version, commit, timestamp # type: ignore
|
|
except ImportError:
|
|
version = "unknown"
|
|
commit = "unknown"
|
|
timestamp = "unknown"
|
|
|
|
|
|
SLS_NAME = "SLS_PYTHON"
|
|
|
|
# Runtime interpreter info (Python equivalent of compiler)
|
|
_impl = sys.implementation
|
|
INTERPRETER_NAME = _impl.name.capitalize()
|
|
INTERPRETER_VER = _impl.version.major
|
|
|
|
def print_version() -> None:
|
|
print(f"YREA SLS ({SLS_NAME}) {version} ({commit})")
|
|
print(f"Running on {INTERPRETER_NAME} {INTERPRETER_VER} at {timestamp}")
|