corrscope/build_pyinstaller.py

11 wiersze
281 B
Python

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