about summary refs log tree commit diff
path: root/setup.py
diff options
context:
space:
mode:
authorCiro Mattia Gonano <ciro@winged.it>2013-01-29 03:43:18 +0100
committerCiro Mattia Gonano <ciro@winged.it>2013-01-29 03:43:18 +0100
commita80dbe8c3dfa891e656f86bc70edacb505e4f767 (patch)
tree17dec818c81b05c79d74af337607e3e9d49f76e7 /setup.py
parentFixes folder handling, subfolders and issues with spaces and # on filenames. (diff)
downloadkcc-a80dbe8c3dfa891e656f86bc70edacb505e4f767.tar.gz
kcc-a80dbe8c3dfa891e656f86bc70edacb505e4f767.tar.bz2
kcc-a80dbe8c3dfa891e656f86bc70edacb505e4f767.zip
Build with cx_Freeze
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index 4112376..55a33cf 100644
--- a/setup.py
+++ b/setup.py
@@ -17,7 +17,7 @@ import sys
 from setuptools import setup
 
 NAME='KindleComicConverter'
-VERSION="2.1"
+VERSION="2.3"
 mainscript = 'kcc.py'
 
 if sys.platform == 'darwin':
@@ -40,9 +40,10 @@ if sys.platform == 'darwin':
         )
     )
 elif sys.platform == 'win32':
+    from cx_Freeze import setup, Executable
+    base = "Win32GUI"
     extra_options = dict(
-        setup_requires=['py2exe'],
-        app=[mainscript]
+        executables = [Executable("kcc.py", base=base)]
     )
 else:
     extra_options = dict(