Skip to content
Snippets Groups Projects
Commit 00c2072f authored by Michael DM Dryden's avatar Michael DM Dryden
Browse files

build_windows.py passes command line arguments to pyinstaller.

parent 366a0736
Branches windows-package
Tags
No related merge requests found
......@@ -5,5 +5,8 @@ __requires__ = 'PyInstaller==2.1'
import os, sys
os.chdir(os.path.dirname(sys.argv[0]))
args = ['interface_test.spec']
args.extend(sys.argv[1:])
import PyInstaller.main as pyi #For some reason, it gets the path here, so working dir must be set first
pyi.run(['interface_test.spec'])
pyi.run(args)
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment