1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 09:46:25 +00:00

setup_console.py py2exe -> cx_freeze

This commit is contained in:
Paweł Jastrzębski
2013-03-07 09:26:41 +01:00
parent b1d22cd05b
commit 3365f111e4

View File

@@ -1,14 +1,22 @@
"""
py2app/py2exe build script for KCC No-GUI release.
cx_freeze build script for Windows KCC No-GUI release.
Usage (Windows):
python setup.py py2exe
python setup_console.py build
"""
from distutils.core import setup
import sys
import py2exe
from cx_Freeze import setup, Executable
sys.path.insert(0, 'kcc')
setup(
console=['kcc/comic2ebook.py', 'kcc/kindlestrip.py'],
setup( name = "KindleComicConverter",
version = "2.6",
author = "Ciro Mattia Gonano",
author_email = "ciromattia@gmail.com",
description = "A tool to convert comics (CBR/CBZ/PDFs/image folders) to MOBI.",
license= " ISC License (ISCL)",
keywords= "kindle comic mobipocket mobi cbz cbr manga",
url = "http://github.com/ciromattia/kcc",
options = {"build_exe": {}},
executables = [Executable("kcc/comic2ebook.py", appendScriptToExe=True, appendScriptToLibrary=False),
Executable("kcc/kindlestrip.py", appendScriptToExe=True, appendScriptToLibrary=False)]
)