mirror of
https://github.com/ciromattia/kcc
synced 2025-12-19 12:41:47 +00:00
Setup update
This commit is contained in:
8
setup.py
8
setup.py
@@ -22,8 +22,8 @@ if platform == "darwin":
|
|||||||
py2app=dict(
|
py2app=dict(
|
||||||
argv_emulation=True,
|
argv_emulation=True,
|
||||||
iconfile='icons/comic2ebook.icns',
|
iconfile='icons/comic2ebook.icns',
|
||||||
includes=['PIL', 'sip', 'PyQt4', 'PyQt4.QtCore', 'PyQt4.QtGui'],
|
includes=['PIL', 'sip', 'PyQt4', 'PyQt4.QtCore', 'PyQt4.QtGui', 'PyQt4.QtNetwork'],
|
||||||
resources=['other/qt.conf', 'LICENSE.txt'],
|
resources=['other/qt.conf', 'LICENSE.txt', 'other/Additional-LICENSE.txt'],
|
||||||
plist=dict(
|
plist=dict(
|
||||||
CFBundleName=NAME,
|
CFBundleName=NAME,
|
||||||
CFBundleShortVersionString=VERSION,
|
CFBundleShortVersionString=VERSION,
|
||||||
@@ -57,7 +57,9 @@ elif platform == "win32":
|
|||||||
else:
|
else:
|
||||||
from cx_Freeze import setup, Executable
|
from cx_Freeze import setup, Executable
|
||||||
extra_options = dict(
|
extra_options = dict(
|
||||||
options={"build_exe": {"include_files": ['LICENSE.txt'], "compressed": True}},
|
options={"build_exe": {"include_files": ['LICENSE.txt',
|
||||||
|
['other/Additional-LICENSE.txt', 'Additional-LICENSE.txt']
|
||||||
|
], "compressed": True}},
|
||||||
executables=[Executable(MAIN,
|
executables=[Executable(MAIN,
|
||||||
icon="icons/comic2ebook.png",
|
icon="icons/comic2ebook.png",
|
||||||
copyDependentFiles=True,
|
copyDependentFiles=True,
|
||||||
|
|||||||
Reference in New Issue
Block a user