diff options
| author | Paweł Jastrzębski <[email protected]> | 2015-09-30 17:04:12 +0200 |
|---|---|---|
| committer | Paweł Jastrzębski <[email protected]> | 2015-09-30 17:04:12 +0200 |
| commit | 8a0ba682c337370d4871c8e693147a9e5e042822 (patch) | |
| tree | 0cf0ab6df627c41cab5378a6d270215f36d5ddb8 /setup.py | |
| parent | Windows: Miscellenaus tweaks (diff) | |
| download | kcc-8a0ba682c337370d4871c8e693147a9e5e042822.tar.gz kcc-8a0ba682c337370d4871c8e693147a9e5e042822.tar.bz2 kcc-8a0ba682c337370d4871c8e693147a9e5e042822.zip | |
Binary blob cleanup
Diffstat (limited to 'setup.py')
| -rwxr-xr-x | setup.py | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/setup.py b/setup.py index 52efd13..1490815 100755 --- a/setup.py +++ b/setup.py @@ -34,7 +34,11 @@ if platform == 'darwin': argv_emulation=True, iconfile='icons/comic2ebook.icns', includes=['sip', 'PyQt5.QtPrintSupport'], - resources=['LICENSE.txt', 'other/qt.conf', 'other/Additional-LICENSE.txt', 'other/unrar', 'other/7za'], + resources=['LICENSE.txt', + 'other/osx/qt.conf', + 'other/osx/Additional-LICENSE.txt', + 'other/osx/unrar', + 'other/osx/7za'], plist=dict( CFBundleName='Kindle Comic Converter', CFBundleShortVersionString=VERSION, @@ -70,9 +74,9 @@ elif platform == 'win32': additional_files = [('platforms', ['C:\Python34' + suffix + '\Lib\site-packages\PyQt5\plugins\platforms\qwindows.dll']), ('', ['LICENSE.txt', - 'other\\7za.exe', - 'other\\UnRAR.exe', - 'other\\Additional-LICENSE.txt', + 'other\\windows\\7za.exe', + 'other\\windows\\UnRAR.exe', + 'other\\windows\\Additional-LICENSE.txt', 'C:\Python34' + suffix + '\Lib\site-packages\PyQt5\libGLESv2.dll', 'C:\Python34' + suffix + '\Lib\site-packages\PyQt5\libEGL.dll'])] extra_options = dict( @@ -158,7 +162,7 @@ setup( if platform == 'darwin': makedirs('dist/Kindle Comic Converter.app/Contents/PlugIns/platforms', exist_ok=True) - copyfile('other/libqcocoa.dylib', 'dist/Kindle Comic Converter.app/Contents/PlugIns/platforms/libqcocoa.dylib') + copyfile('other/osx/libqcocoa.dylib', 'dist/Kindle Comic Converter.app/Contents/PlugIns/platforms/libqcocoa.dylib') chmod('dist/Kindle Comic Converter.app/Contents/Resources/unrar', 0o777) chmod('dist/Kindle Comic Converter.app/Contents/Resources/7za', 0o777) system('appdmg setup.json dist/KindleComicConverter_osx_' + VERSION + '.dmg') |