From 762b2af050685090445bcd12827149508173896c Mon Sep 17 00:00:00 2001 From: Joey Payne Date: Sat, 20 Dec 2014 09:25:38 +1300 Subject: [PATCH] Added command line build options to build scripts. --- build_mac.bash | 2 ++ build_windows.bat | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/build_mac.bash b/build_mac.bash index c067bc9..b47eb7f 100755 --- a/build_mac.bash +++ b/build_mac.bash @@ -38,3 +38,5 @@ install_name_tool -change /usr/local/lib/QtNetwork.framework/Versions/4/QtNetwor install_name_tool -change /usr/local/Cellar/qt/4.8.5/lib/QtCore.framework/Versions/4/QtCore @executable_path/QtCore Web2Executable.app/Contents/MacOS/QtNetwork install_name_tool -change /usr/local/lib/libjpeg.8.dylib @executable_path/libjpeg.8.dylib Web2Executable.app/Contents/MacOS/PIL._imaging.so + +pyinstaller --hidden-import configobj --distpath output --onefile -n web2exe command_line.py diff --git a/build_windows.bat b/build_windows.bat index 9be7613..2af78b3 100644 --- a/build_windows.bat +++ b/build_windows.bat @@ -1 +1,5 @@ -cxfreeze.bat main.py --target-dir=Web2ExeWin --base-name=Win32GUI \ No newline at end of file +call pyinstaller --onefile --hidden-import configobj --distpath output -n web2exe command_line.py +echo D | xcopy /s files output\files + +call cxfreeze.bat main.py --target-dir=Web2ExeWin --base-name=Win32GUI +echo D | xcopy /s files Web2ExeWin\files