about summary refs log tree commit diff
path: root/setup.py
diff options
context:
space:
mode:
authorPaweł Jastrzębski <[email protected]>2013-11-07 22:53:28 +0100
committerPaweł Jastrzębski <[email protected]>2013-11-07 22:53:28 +0100
commit6d9e2d3c03d2032bf4c1fd44fa9c3e79061044da (patch)
treeb0370624a204a0fe4155dcda329a1fdfc327db22 /setup.py
parentUpdated README (diff)
downloadkcc-6d9e2d3c03d2032bf4c1fd44fa9c3e79061044da.tar.gz
kcc-6d9e2d3c03d2032bf4c1fd44fa9c3e79061044da.tar.bz2
kcc-6d9e2d3c03d2032bf4c1fd44fa9c3e79061044da.zip
Added Linux build script
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py15
1 files changed, 4 insertions, 11 deletions
diff --git a/setup.py b/setup.py
index afb7bb8..4bee918 100644
--- a/setup.py
+++ b/setup.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python2
 """
 cx_Freeze build script for KCC.
 
@@ -67,18 +68,10 @@ elif platform == "win32":
                                 appendScriptToLibrary=False,
                                 compress=True)])
 else:
-    from cx_Freeze import setup, Executable
-    extra_options = dict(
-        options={"build_exe": {"include_files": ['LICENSE.txt',
-                                                 ['other/Additional-LICENSE.txt', 'Additional-LICENSE.txt']
-                                                 ], "compressed": True}},
-        executables=[Executable(MAIN,
-                                icon="icons/comic2ebook.png",
-                                copyDependentFiles=True,
-                                appendScriptToExe=True,
-                                appendScriptToLibrary=False,
-                                compress=True)])
+    print 'Please use setup.sh to build Linux package.'
+    exit()
 
+#noinspection PyUnboundLocalVariable
 setup(
     name=NAME,
     version=VERSION,