1
0
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:
Paweł Jastrzębski
2014-01-18 12:15:45 +01:00
parent b1e7a88353
commit d99064596a
6 changed files with 22 additions and 8 deletions

View File

@@ -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)*
### 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.
- [PyQt4](http://www.riverbankcomputing.co.uk/software/pyqt/download) - Please refer to official documentation for installing into your system.
- [Pillow](http://pypi.python.org/pypi/Pillow/) 2.3.0+ - For comic optimizations. Please refer to official documentation for installing into your system.
- [Psutil](https://code.google.com/p/psutil/) - Please refer to official documentation for installing into your system.
- **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 3.3
- [PyQt5](http://www.riverbankcomputing.co.uk/software/pyqt/download5)
- [Pillow](http://pypi.python.org/pypi/Pillow/) 2.3.0+
- [psutil](https://pypi.python.org/pypi/psutil)
- [python-slugify](http://pypi.python.org/pypi/python-slugify)
## USAGE
@@ -312,6 +312,8 @@ The app relies and includes the following scripts/binaries:
####3.7.2:
* Fixed problems with HQ mode
####4.0:
## COPYRIGHT
Copyright (c) 2012-2013 Ciro Mattia Gonano and Paweł Jastrzębski.

6
kcc-c2e.py Normal file → Executable file
View File

@@ -23,6 +23,11 @@ __license__ = 'ISC'
__copyright__ = '2012-2013, Ciro Mattia Gonano <ciromattia@gmail.com>, Pawel Jastrzebski <pawelj@vulturis.eu>'
__docformat__ = 'restructuredtext en'
import sys
if sys.version_info[0] != 3:
print('ERROR: This is Python 3 script!')
exit(1)
# Dependiences check
missing = []
try:
@@ -55,7 +60,6 @@ if len(missing) > 0:
print('ERROR: ' + ', '.join(missing) + ' is not installed!')
exit(1)
import sys
from multiprocessing import freeze_support
from kcc.comic2ebook import main, Copyright

6
kcc-c2p.py Normal file → Executable file
View File

@@ -18,6 +18,11 @@
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
import sys
if sys.version_info[0] != 3:
print('ERROR: This is Python 3 script!')
exit(1)
__version__ = '4.0'
__license__ = 'ISC'
__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!')
exit(1)
import sys
from multiprocessing import freeze_support
from kcc.comic2panel import main, Copyright

6
kcc.py Normal file → Executable file
View File

@@ -23,6 +23,11 @@ __license__ = 'ISC'
__copyright__ = '2012-2013, Ciro Mattia Gonano <ciromattia@gmail.com>, Pawel Jastrzebski <pawelj@vulturis.eu>'
__docformat__ = 'restructuredtext en'
import sys
if sys.version_info[0] != 3:
print('ERROR: This is Python 3 script!')
exit(1)
# Dependiences check
missing = []
try:
@@ -60,7 +65,6 @@ if len(missing) > 0:
print('ERROR: ' + ', '.join(missing) + ' is not installed!')
exit(1)
import sys
import os
from multiprocessing import freeze_support
from kcc import KCC_gui

0
setup.py Normal file → Executable file
View File

0
setup.sh Normal file → Executable file
View File