1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 01:36:27 +00:00

Added Linux build script

This commit is contained in:
Paweł Jastrzębski
2013-11-07 22:53:28 +01:00
parent 0789e7a353
commit 6d9e2d3c03
2 changed files with 16 additions and 11 deletions

View File

@@ -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,