corrscope/build_pyinstaller.py

11 wiersze
287 B
Python
Czysty Zwykły widok Historia

import subprocess
import sys
# To write graph, pass --log-level=DEBUG
# pyinstaller corrscope/__main__.py --name corrscope -y
args = "pyinstaller corrscope.spec -y".split() + sys.argv[1:]
subprocess.run(args, check=True)
subprocess.run("dist/corrscope/corrscope".split(), check=True)