about summary refs log tree commit diff
path: root/kcc-c2e.py
diff options
context:
space:
mode:
authorPaweł Jastrzębski <pawelj@vulturis.eu>2014-01-15 10:22:54 +0100
committerPaweł Jastrzębski <pawelj@vulturis.eu>2014-01-15 10:23:44 +0100
commit878e92b5278085c3b09939cdc0dd8ff162147a63 (patch)
treed160c444233d9f35e9019133a855bdf6ce031275 /kcc-c2e.py
parentUpdated rarfile (diff)
downloadkcc-878e92b5278085c3b09939cdc0dd8ff162147a63.tar.gz
kcc-878e92b5278085c3b09939cdc0dd8ff162147a63.tar.bz2
kcc-878e92b5278085c3b09939cdc0dd8ff162147a63.zip
Added proper startup scripts
Hacks that allow standalone startup of script inside module are messy.
Diffstat (limited to 'kcc-c2e.py')
-rw-r--r--kcc-c2e.py33
1 files changed, 33 insertions, 0 deletions
diff --git a/kcc-c2e.py b/kcc-c2e.py
new file mode 100644
index 0000000..744555b
--- /dev/null
+++ b/kcc-c2e.py
@@ -0,0 +1,33 @@
+#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
+#
+# Copyright (c) 2012-2013 Ciro Mattia Gonano <ciromattia@gmail.com>
+# Copyright (c) 2013 Pawel Jastrzebski <pawelj@vulturis.eu>
+#
+# Permission to use, copy, modify, and/or distribute this software for
+# any purpose with or without fee is hereby granted, provided that the
+# above copyright notice and this permission notice appear in all
+# copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+# WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+# WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
+# AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
+# DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA
+# OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+# PERFORMANCE OF THIS SOFTWARE.
+
+__version__ = '4.0'
+__license__ = 'ISC'
+__copyright__ = '2012-2013, Ciro Mattia Gonano <ciromattia@gmail.com>, Pawel Jastrzebski <pawelj@vulturis.eu>'
+__docformat__ = 'restructuredtext en'
+
+import sys
+from multiprocessing import freeze_support
+from kcc.comic2ebook import main, Copyright
+
+freeze_support()
+Copyright()
+main(sys.argv[1:])
+sys.exit(0)
\ No newline at end of file