diff --git a/appveyor.yml b/appveyor.yml index 9ad74cc..39b72b4 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -53,7 +53,7 @@ after_test: # Running pyinstaller is much faster on x64 I think, # but the resulting files are 64-bit only. - 'poetry build' - - 'poetry run pyinstaller corrscope.spec -y --log-level DEBUG' + - 'poetry run pyinstaller corrscope.spec -y' artifacts: - path: 'dist\*' diff --git a/build_pyinstaller.py b/build_pyinstaller.py index bb37798..81dbb15 100644 --- a/build_pyinstaller.py +++ b/build_pyinstaller.py @@ -4,7 +4,7 @@ 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:] +args = "pyinstaller corrscope.spec -y".split() + sys.argv[1:] subprocess.run(args, check=True) subprocess.run("dist/corrscope/corrscope".split(), check=True)