From a80dbe8c3dfa891e656f86bc70edacb505e4f767 Mon Sep 17 00:00:00 2001 From: Ciro Mattia Gonano Date: Tue, 29 Jan 2013 03:43:18 +0100 Subject: Build with cx_Freeze --- setup.py | 7 ++++--- 1 file 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( -- cgit 1.4.1