about summary refs log tree commit diff
path: root/setup.py
diff options
context:
space:
mode:
authorCiro Mattia Gonano <ciromattia@gmail.com>2013-06-13 15:06:25 +0200
committerCiro Mattia Gonano <ciromattia@gmail.com>2013-06-13 15:06:25 +0200
commit7dcb120edf93b69160d9c8bcfe14a1a65c989caa (patch)
treef18b61f9db53cba55a59b607bcc8e7a21afe6ce2 /setup.py
parentIgnore Thumbs.db (diff)
downloadkcc-7dcb120edf93b69160d9c8bcfe14a1a65c989caa.tar.gz
kcc-7dcb120edf93b69160d9c8bcfe14a1a65c989caa.tar.bz2
kcc-7dcb120edf93b69160d9c8bcfe14a1a65c989caa.zip
Depending on Pillow
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/setup.py b/setup.py
index 9f5286b..cbf7c0f 100644
--- a/setup.py
+++ b/setup.py
@@ -15,12 +15,12 @@ VERSION = "3.0"
 MAIN = "kcc.py"
 
 includefiles = ['LICENSE.txt']
-includes = []
-excludes = []
+includes = ['sip', 'atexit', 'PyQt4.QtCore']
+excludes = ['curses', 'email', 'tcl', 'ttk']
 
 if platform == "darwin":
     extra_options = dict(
-        options={"build_exe": {"include_files": includefiles, "excludes": excludes, "compressed": True},
+        options={"build_exe": {"include_files": includefiles, "includes": includes, "excludes": excludes, "compressed": True},
                  "bdist_mac": {"iconfile": "icons/comic2ebook.icns"}},
         executables=[Executable(MAIN,
                                 copyDependentFiles=True,
@@ -30,7 +30,7 @@ if platform == "darwin":
 elif platform == "win32":
     base = "Win32GUI"
     extra_options = dict(
-        options={"build_exe": {"include_files": includefiles, "excludes": excludes, "compressed": True}},
+        options={"build_exe": {"include_files": includefiles, "includes": includes, "excludes": excludes, "compressed": True}},
         executables=[Executable(MAIN,
                                 base=base,
                                 targetName="KCC.exe",
@@ -51,6 +51,6 @@ setup(
     license="ISC License (ISCL)",
     keywords="kindle comic mobipocket mobi cbz cbr manga",
     url="http://github.com/ciromattia/kcc",
-    packages=['KCC'], requires=['PIL'],
+    packages=['KCC'], requires=['Pillow'],
     **extra_options
 )
\ No newline at end of file