from __future__ import annotations import subprocess import sys from pathlib import Path def main() -> None: base = Path(__file__).resolve().parent common = base.parent / "_common" / "make_ppt.py" spec = base / "slides.json" out = base / f"{base.name}.pptx" subprocess.check_call([sys.executable, str(common), "--spec", str(spec), "--out", str(out)]) if __name__ == "__main__": main()