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

Overhauled startup functions for PyPI packaging

This commit is contained in:
Paweł Jastrzębski
2017-03-17 10:55:56 +01:00
parent 2e9b3389e4
commit 8048b91fa8
6 changed files with 74 additions and 72 deletions

View File

@@ -23,14 +23,9 @@ if sys.version_info[0] != 3:
print('ERROR: This is Python 3 script!')
exit(1)
from kindlecomicconverter.shared import dependencyCheck
dependencyCheck(2)
from multiprocessing import freeze_support
from kindlecomicconverter import __version__
from kindlecomicconverter.comic2ebook import main
from kindlecomicconverter.startup import startC2E
if __name__ == "__main__":
freeze_support()
print('comic2ebook v' + __version__ + ' - Written by Ciro Mattia Gonano and Pawel Jastrzebski.')
sys.exit(main(sys.argv[1:]))
startC2E()