返回 ppt-master
svg_to_pptx.py
根目录 / skills / ppt-master / scripts / svg_to_pptx.py
1 #!/usr/bin/env python3
2 """PPT Master - SVG to PPTX Tool (thin wrapper).
3
4 Delegates to the svg_to_pptx package. ``-s final`` remains a native-export
5 diagnostic override; the standard pipeline reads ``svg_output/``:
6 python3 scripts/svg_to_pptx.py <project_path> -s final
7 """
8
9 import sys
10 from pathlib import Path
11
12 # Ensure the scripts directory is on sys.path so the package can be found
13 sys.path.insert(0, str(Path(__file__).resolve().parent))
14
15 from attribution_guard import require_skill_integrity
16 from console_encoding import configure_utf8_stdio
17 from svg_to_pptx import main
18
19 configure_utf8_stdio()
20
21 if __name__ == '__main__':
22 require_skill_integrity()
23 raise SystemExit(main())
24
24 lines PYTHON