diff --git a/build_mac.bash b/build_mac.bash index 0e5e144..d1b8f18 100755 --- a/build_mac.bash +++ b/build_mac.bash @@ -2,20 +2,23 @@ rm -rf Web2ExeMac* rm files/error.log files/last_project_path.txt files/recent_files.txt rm -rf files/downloads/* rm -rf Web2ExeMac-CMD/files -pyinstaller --hidden-import Jpeg2KImagePlugin --hidden-import configobj --distpath Web2ExeMac-CMD --onefile -n web2exe-mac command_line.py +pyinstaller --hidden-import PIL.Jpeg2KImagePlugin --hidden-import configobj --distpath Web2ExeMac-CMD --onefile -n web2exe-mac command_line.py cp -rf files Web2ExeMac-CMD/files/ rm -rf build dist Web2Executable.app sudo python build_mac_setup.py py2app --iconfile icon.icns -sudo chown -R joey dist/main.app +sudo chown -R joey dist/Web2Executable.app sudo chown -R joey dist/ build/ -mv dist/main.app Web2Executable.app +mv dist/Web2Executable.app Web2Executable.app -rm -rf Web2Executable.app/Contents/Frameworks/Qt* +rm -rf Web2Executable.app/Contents/Frameworks/QtDesigner* +rm -rf Web2Executable.app/Contents/Frameworks/QtXml* +rm -rf Web2Executable.app/Contents/Frameworks/QtWebKit* +rm -rf Web2Executable.app/Contents/Frameworks/QtScript* rm -rf build dist -zip -r -9 Web2ExeMac-CMD.zip Web2ExeMac-CMD -zip -r -9 Web2ExeMac-v0.2.2b.zip Web2Executable.app +/Applications/Keka.app/Contents/Resources/keka7z a -r Web2ExeMac-CMD.zip Web2ExeMac-CMD +/Applications/Keka.app/Contents/Resources/keka7z a -r Web2ExeMac-v0.2.2b.zip Web2Executable.app diff --git a/build_mac_setup.py b/build_mac_setup.py index 1bfa1d8..0f9d01e 100644 --- a/build_mac_setup.py +++ b/build_mac_setup.py @@ -18,7 +18,10 @@ OPTIONS = { } setup( + name='Web2Executable', + version='0.2.2b', app=APP, + author='Joey Payne', data_files=DATA_FILES, options={'py2app': OPTIONS}, setup_requires=['py2app'],