From 2dab7a707b00e75c77e794f758ebe7da62be826a Mon Sep 17 00:00:00 2001 From: Ciro Mattia Gonano Date: Wed, 6 Mar 2013 23:16:50 +0100 Subject: Update setup with Windows icon --- resources/comic2ebook.ico | Bin 0 -> 353118 bytes setup.py | 8 +++++++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 resources/comic2ebook.ico diff --git a/resources/comic2ebook.ico b/resources/comic2ebook.ico new file mode 100644 index 0000000..a3460b4 Binary files /dev/null and b/resources/comic2ebook.ico differ diff --git a/setup.py b/setup.py index dcaedf6..cc4781a 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,13 @@ elif sys.platform == 'win32': from cx_Freeze import setup, Executable base = "Win32GUI" extra_options = dict( - executables=[Executable("kcc.py", base=base)] + executables=[Executable("kcc.py", base=base, icon='resources/comic2ebook.ico', + appendScriptToExe=True, appendScriptToLibrary=False)], + options=dict( + build_exe=dict( + compressed=True + ) + ) ) else: extra_options = dict( -- cgit 1.4.1