about summary refs log tree commit diff
path: root/setup.py
diff options
context:
space:
mode:
authorPaweł Jastrzębski <pawelj@iosphe.re>2015-03-08 18:08:15 +0100
committerPaweł Jastrzębski <pawelj@iosphe.re>2015-03-08 18:08:15 +0100
commit00d239e1d8d5b336eb98ee527e99f0d5f58e0f6a (patch)
tree25d6461ade10e79bbb6d1a19daa61878d0977e36 /setup.py
parentMerge pull request #124 from ciromattia/dev (diff)
parentVersion bump (diff)
downloadkcc-00d239e1d8d5b336eb98ee527e99f0d5f58e0f6a.tar.gz
kcc-00d239e1d8d5b336eb98ee527e99f0d5f58e0f6a.tar.bz2
kcc-00d239e1d8d5b336eb98ee527e99f0d5f58e0f6a.zip
Merge pull request #131 from ciromattia/dev
4.5
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/setup.py b/setup.py
index 2621bd0..f650402 100755
--- a/setup.py
+++ b/setup.py
@@ -9,12 +9,13 @@ Usage (Mac OS X):
     python setup.py py2app
 """
 from sys import platform, version_info
+from kcc import __version__
 if version_info[0] != 3:
     print('ERROR: This is Python 3 script!')
     exit(1)
 
 NAME = "KindleComicConverter"
-VERSION = "4.4.1"
+VERSION = __version__
 MAIN = "kcc.py"
 
 if platform == "darwin":
@@ -54,9 +55,9 @@ if platform == "darwin":
 elif platform == "win32":
     # noinspection PyUnresolvedReferences
     import py2exe
-    import platform as arch
+    import platform
     from distutils.core import setup
-    if arch.architecture()[0] == '64bit':
+    if platform.architecture()[0] == '64bit':
         suffix = '_64'
     else:
         suffix = ''
@@ -70,7 +71,6 @@ elif platform == "win32":
                               'C:\Python34' + suffix + '\Lib\site-packages\PyQt5\libEGL.dll'])]
     extra_options = dict(
         options={'py2exe': {"bundle_files": 1,
-                            "dll_excludes": ["tcl85.dll", "tk85.dll"],
                             "dist_dir": "dist" + suffix,
                             "compressed": True,
                             "includes": ["sip"],