lllin000_PaperForge/scripts/setup.py

22 lines
537 B
Python
Raw Permalink Normal View History

#!/usr/bin/env python3
"""Compatibility wrapper for the PaperForge setup wizard."""
from __future__ import annotations
import subprocess
2026-04-22 17:44:13 +00:00
import sys
from pathlib import Path
def main() -> int:
2026-04-22 17:44:13 +00:00
repo_root = Path(__file__).resolve().parents[1]
wizard = repo_root / "setup_wizard.py"
if not wizard.exists():
print(f"[ERR] setup_wizard.py not found: {wizard}")
return 1
2026-04-22 17:44:13 +00:00
return subprocess.run([sys.executable, str(wizard), *sys.argv[1:]]).returncode
if __name__ == "__main__":
2026-04-22 17:44:13 +00:00
raise SystemExit(main())