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:
@@ -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):
|
Usage (Windows):
|
||||||
python setup.py py2exe
|
python setup_console.py build
|
||||||
"""
|
"""
|
||||||
from distutils.core import setup
|
|
||||||
import sys
|
import sys
|
||||||
import py2exe
|
from cx_Freeze import setup, Executable
|
||||||
sys.path.insert(0, 'kcc')
|
sys.path.insert(0, 'kcc')
|
||||||
|
|
||||||
setup(
|
setup( name = "KindleComicConverter",
|
||||||
console=['kcc/comic2ebook.py', 'kcc/kindlestrip.py'],
|
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)]
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user