diff options
author | Paweł Jastrzębski <pawelj@iosphe.re> | 2015-11-04 20:41:48 +0100 |
---|---|---|
committer | Paweł Jastrzębski <pawelj@iosphe.re> | 2015-11-04 20:41:48 +0100 |
commit | b2e58127cb1c81a411836b0d48b7a97aa4672f72 (patch) | |
tree | 464c98a20a58499218f9a6961d44c19d8bf05208 /setup.py | |
parent | Fixed Panel View placement (diff) | |
download | kcc-b2e58127cb1c81a411836b0d48b7a97aa4672f72.tar.gz kcc-b2e58127cb1c81a411836b0d48b7a97aa4672f72.tar.bz2 kcc-b2e58127cb1c81a411836b0d48b7a97aa4672f72.zip |
Disabled UPX to decrease startup time
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setup.py b/setup.py index 57260b0..35c6dce 100755 --- a/setup.py +++ b/setup.py @@ -38,7 +38,7 @@ class BuildBinaryCommand(distutils.cmd.Command): def run(self): if sys.platform == 'darwin': - os.system('pyinstaller -y -F -i icons/comic2ebook.icns -n "Kindle Comic Converter" -w -s kcc.py') + os.system('pyinstaller -y -F -i icons/comic2ebook.icns -n "Kindle Comic Converter" -w -s --noupx kcc.py') shutil.copy('other/osx/7za', 'dist/Kindle Comic Converter.app/Contents/Resources') shutil.copy('other/osx/unrar', 'dist/Kindle Comic Converter.app/Contents/Resources') shutil.copy('other/osx/Info.plist', 'dist/Kindle Comic Converter.app/Contents') @@ -51,7 +51,7 @@ class BuildBinaryCommand(distutils.cmd.Command): os.system('appdmg kcc.json dist/KindleComicConverter_osx_' + VERSION + '.dmg') exit(0) elif sys.platform == 'win32': - os.system('pyinstaller -y -F -i icons\comic2ebook.ico -n KCC -w kcc.py') + os.system('pyinstaller -y -F -i icons\comic2ebook.ico -n KCC -w --noupx kcc.py') if os.path.isfile('setup.bat'): os.system('setup.bat ' + VERSION) exit(0) |