about summary refs log tree commit diff
path: root/kcc-c2e.py
diff options
context:
space:
mode:
authorPaweł Jastrzębski <pawelj@iosphe.re>2017-03-17 10:55:56 +0100
committerPaweł Jastrzębski <pawelj@iosphe.re>2017-03-17 10:55:56 +0100
commit8048b91fa86428d71329b15275d3134230a06019 (patch)
tree8d1f2c06c18f9aee0c28bcfee902729501e0ad7c /kcc-c2e.py
parentCode cleanup (diff)
downloadkcc-8048b91fa86428d71329b15275d3134230a06019.tar.gz
kcc-8048b91fa86428d71329b15275d3134230a06019.tar.bz2
kcc-8048b91fa86428d71329b15275d3134230a06019.zip
Overhauled startup functions for PyPI packaging
Diffstat (limited to 'kcc-c2e.py')
-rwxr-xr-xkcc-c2e.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/kcc-c2e.py b/kcc-c2e.py
index cb83188..c17deec 100755
--- a/kcc-c2e.py
+++ b/kcc-c2e.py
@@ -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()