mirror of
https://github.com/ciromattia/kcc
synced 2025-12-13 09:46:25 +00:00
Detect Python 2 + README update
This commit is contained in:
12
README.md
12
README.md
@@ -40,11 +40,11 @@ You can find the latest released binary at the following links:
|
|||||||
- [7za](http://www.7-zip.org/download.html) *(For 7z/CB7 support)*
|
- [7za](http://www.7-zip.org/download.html) *(For 7z/CB7 support)*
|
||||||
|
|
||||||
### For compiling/running from source:
|
### For compiling/running from source:
|
||||||
- Python 2.7 - Included in MacOS and Linux, follow the [official documentation](http://www.python.org/getit/windows/) to install on Windows.
|
- Python 3.3
|
||||||
- [PyQt4](http://www.riverbankcomputing.co.uk/software/pyqt/download) - Please refer to official documentation for installing into your system.
|
- [PyQt5](http://www.riverbankcomputing.co.uk/software/pyqt/download5)
|
||||||
- [Pillow](http://pypi.python.org/pypi/Pillow/) 2.3.0+ - For comic optimizations. Please refer to official documentation for installing into your system.
|
- [Pillow](http://pypi.python.org/pypi/Pillow/) 2.3.0+
|
||||||
- [Psutil](https://code.google.com/p/psutil/) - Please refer to official documentation for installing into your system.
|
- [psutil](https://pypi.python.org/pypi/psutil)
|
||||||
- **To build OS X release you need a modified QT:** [patch](https://github.com/ciromattia/kcc/blob/master/other/QT-4.8.5-QListWidget.patch)
|
- [python-slugify](http://pypi.python.org/pypi/python-slugify)
|
||||||
|
|
||||||
## USAGE
|
## USAGE
|
||||||
|
|
||||||
@@ -312,6 +312,8 @@ The app relies and includes the following scripts/binaries:
|
|||||||
####3.7.2:
|
####3.7.2:
|
||||||
* Fixed problems with HQ mode
|
* Fixed problems with HQ mode
|
||||||
|
|
||||||
|
####4.0:
|
||||||
|
|
||||||
## COPYRIGHT
|
## COPYRIGHT
|
||||||
|
|
||||||
Copyright (c) 2012-2013 Ciro Mattia Gonano and Paweł Jastrzębski.
|
Copyright (c) 2012-2013 Ciro Mattia Gonano and Paweł Jastrzębski.
|
||||||
|
|||||||
6
kcc-c2e.py
Normal file → Executable file
6
kcc-c2e.py
Normal file → Executable file
@@ -23,6 +23,11 @@ __license__ = 'ISC'
|
|||||||
__copyright__ = '2012-2013, Ciro Mattia Gonano <ciromattia@gmail.com>, Pawel Jastrzebski <pawelj@vulturis.eu>'
|
__copyright__ = '2012-2013, Ciro Mattia Gonano <ciromattia@gmail.com>, Pawel Jastrzebski <pawelj@vulturis.eu>'
|
||||||
__docformat__ = 'restructuredtext en'
|
__docformat__ = 'restructuredtext en'
|
||||||
|
|
||||||
|
import sys
|
||||||
|
if sys.version_info[0] != 3:
|
||||||
|
print('ERROR: This is Python 3 script!')
|
||||||
|
exit(1)
|
||||||
|
|
||||||
# Dependiences check
|
# Dependiences check
|
||||||
missing = []
|
missing = []
|
||||||
try:
|
try:
|
||||||
@@ -55,7 +60,6 @@ if len(missing) > 0:
|
|||||||
print('ERROR: ' + ', '.join(missing) + ' is not installed!')
|
print('ERROR: ' + ', '.join(missing) + ' is not installed!')
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
import sys
|
|
||||||
from multiprocessing import freeze_support
|
from multiprocessing import freeze_support
|
||||||
from kcc.comic2ebook import main, Copyright
|
from kcc.comic2ebook import main, Copyright
|
||||||
|
|
||||||
|
|||||||
6
kcc-c2p.py
Normal file → Executable file
6
kcc-c2p.py
Normal file → Executable file
@@ -18,6 +18,11 @@
|
|||||||
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
# PERFORMANCE OF THIS SOFTWARE.
|
# PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
|
import sys
|
||||||
|
if sys.version_info[0] != 3:
|
||||||
|
print('ERROR: This is Python 3 script!')
|
||||||
|
exit(1)
|
||||||
|
|
||||||
__version__ = '4.0'
|
__version__ = '4.0'
|
||||||
__license__ = 'ISC'
|
__license__ = 'ISC'
|
||||||
__copyright__ = '2012-2013, Ciro Mattia Gonano <ciromattia@gmail.com>, Pawel Jastrzebski <pawelj@vulturis.eu>'
|
__copyright__ = '2012-2013, Ciro Mattia Gonano <ciromattia@gmail.com>, Pawel Jastrzebski <pawelj@vulturis.eu>'
|
||||||
@@ -45,7 +50,6 @@ if len(missing) > 0:
|
|||||||
print('ERROR: ' + ', '.join(missing) + ' is not installed!')
|
print('ERROR: ' + ', '.join(missing) + ' is not installed!')
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
import sys
|
|
||||||
from multiprocessing import freeze_support
|
from multiprocessing import freeze_support
|
||||||
from kcc.comic2panel import main, Copyright
|
from kcc.comic2panel import main, Copyright
|
||||||
|
|
||||||
|
|||||||
6
kcc.py
Normal file → Executable file
6
kcc.py
Normal file → Executable file
@@ -23,6 +23,11 @@ __license__ = 'ISC'
|
|||||||
__copyright__ = '2012-2013, Ciro Mattia Gonano <ciromattia@gmail.com>, Pawel Jastrzebski <pawelj@vulturis.eu>'
|
__copyright__ = '2012-2013, Ciro Mattia Gonano <ciromattia@gmail.com>, Pawel Jastrzebski <pawelj@vulturis.eu>'
|
||||||
__docformat__ = 'restructuredtext en'
|
__docformat__ = 'restructuredtext en'
|
||||||
|
|
||||||
|
import sys
|
||||||
|
if sys.version_info[0] != 3:
|
||||||
|
print('ERROR: This is Python 3 script!')
|
||||||
|
exit(1)
|
||||||
|
|
||||||
# Dependiences check
|
# Dependiences check
|
||||||
missing = []
|
missing = []
|
||||||
try:
|
try:
|
||||||
@@ -60,7 +65,6 @@ if len(missing) > 0:
|
|||||||
print('ERROR: ' + ', '.join(missing) + ' is not installed!')
|
print('ERROR: ' + ', '.join(missing) + ' is not installed!')
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
import sys
|
|
||||||
import os
|
import os
|
||||||
from multiprocessing import freeze_support
|
from multiprocessing import freeze_support
|
||||||
from kcc import KCC_gui
|
from kcc import KCC_gui
|
||||||
|
|||||||
Reference in New Issue
Block a user