25 lines
607 B
Python
Executable File
25 lines
607 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""Compatibility entry point for the maintained Pre15 G3 fixture helper."""
|
|
|
|
from __future__ import annotations
|
|
|
|
import importlib.util
|
|
from pathlib import Path
|
|
import sys
|
|
|
|
|
|
HELPER = Path(__file__).resolve().parent / "pre15/fixtures/g3.py"
|
|
|
|
|
|
def main() -> None:
|
|
spec = importlib.util.spec_from_file_location("pre15_g3", HELPER)
|
|
if spec is None or spec.loader is None:
|
|
raise RuntimeError(f"cannot load {HELPER}")
|
|
module = importlib.util.module_from_spec(spec)
|
|
spec.loader.exec_module(module)
|
|
module.main(sys.argv[1:])
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|