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

cx_Freeze tweaks

This commit is contained in:
Paweł Jastrzębski
2013-06-12 09:47:54 +02:00
parent dded30d6a6
commit 3f2fb67c04
2 changed files with 2 additions and 286 deletions

View File

@@ -1,8 +1,6 @@
"""
cx_Freeze build script for KCC.
Will automatically ensure that all build prerequisites are available via ez_setup
Usage (Mac OS X):
python setup.py bdist_mac
@@ -10,8 +8,6 @@ Usage (Windows):
python setup.py build
"""
from sys import platform
from ez_setup import use_setuptools
use_setuptools()
from cx_Freeze import setup, Executable
NAME = "KindleComicConverter"
@@ -44,9 +40,7 @@ elif platform == "win32":
appendScriptToLibrary=False,
compress=True)])
else:
extra_options = dict(
scripts=[MAIN],
)
exit(0)
setup(
name=NAME,
@@ -57,6 +51,6 @@ setup(
license="ISC License (ISCL)",
keywords="kindle comic mobipocket mobi cbz cbr manga",
url="http://github.com/ciromattia/kcc",
packages=['KCC'], requires=['PIL', 'cx_Freeze'],
packages=['KCC'], requires=['PIL'],
**extra_options
)