diff options
author | Paweł Jastrzębski <pawelj@iosphe.re> | 2014-09-22 18:35:53 +0200 |
---|---|---|
committer | Paweł Jastrzębski <pawelj@iosphe.re> | 2014-09-22 18:35:53 +0200 |
commit | dfe3e104708b4c2eb0c938bfd36ebdc4cb90d298 (patch) | |
tree | 59e7da15bb693604f5e6105bf365c079eb5d6d14 /setup.py | |
parent | Updated multiple device profiles (diff) | |
download | kcc-dfe3e104708b4c2eb0c938bfd36ebdc4cb90d298.tar.gz kcc-dfe3e104708b4c2eb0c938bfd36ebdc4cb90d298.tar.bz2 kcc-dfe3e104708b4c2eb0c938bfd36ebdc4cb90d298.zip |
Updated setup
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 35 |
1 files changed, 7 insertions, 28 deletions
diff --git a/setup.py b/setup.py index f2a2828..fa19e56 100755 --- a/setup.py +++ b/setup.py @@ -1,12 +1,12 @@ #!/usr/bin/env python3 """ -cx_Freeze/py2app build script for KCC. - -Usage (Mac OS X): - python setup.py py2app +py2exe/py2app build script for KCC. Usage (Windows): python setup.py py2exe + +Usage (Mac OS X): + python setup.py py2app """ from sys import platform, version_info if version_info[0] != 3: @@ -63,43 +63,22 @@ elif platform == "win32": suffix = '_64' else: suffix = '' - additional_files = [('imageformats', ['C:\Python34' + suffix + - '\Lib\site-packages\PyQt5\plugins\imageformats\qgif.dll', - 'C:\Python34' + suffix + - '\Lib\site-packages\PyQt5\plugins\imageformats\qico.dll', - 'C:\Python34' + suffix + - '\Lib\site-packages\PyQt5\plugins\imageformats\qjpeg.dll', - 'C:\Python34' + suffix + - '\Lib\site-packages\PyQt5\plugins\imageformats\qmng.dll', - 'C:\Python34' + suffix + - '\Lib\site-packages\PyQt5\plugins\imageformats\qsvg.dll', - 'C:\Python34' + suffix + - '\Lib\site-packages\PyQt5\plugins\imageformats\qtga.dll', - 'C:\Python34' + suffix + - '\Lib\site-packages\PyQt5\plugins\imageformats\qtiff.dll', - 'C:\Python34' + suffix + - '\Lib\site-packages\PyQt5\plugins\imageformats\qwbmp.dll']), - ('platforms', ['C:\Python34' + suffix + - '\Lib\site-packages\PyQt5\plugins\platforms\qminimal.dll', - 'C:\Python34' + suffix + - '\Lib\site-packages\PyQt5\plugins\platforms\qoffscreen.dll', - 'C:\Python34' + suffix + + 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\\7za.exe', 'C:\Python34' + suffix + '\Lib\site-packages\PyQt5\libEGL.dll'])] extra_options = dict( - options={'py2exe': {"bundle_files": 2, + options={'py2exe': {"bundle_files": 1, "dll_excludes": ["tcl85.dll", "tk85.dll"], "dist_dir": "dist" + suffix, "compressed": True, "includes": ["sip"], "excludes": ["tkinter"], "optimize": 2}}, - windows=[{"script": "kcc.py", + windows=[{"script": MAIN, "dest_base": "KCC", "version": VERSION, "copyright": "Ciro Mattia Gonano, Pawel Jastrzebski © 2014", |