Updated README + version bump

This commit is contained in:
Paweł Jastrzębski
2016-04-25 18:40:51 +02:00
parent 4c56141b80
commit e4dccfe603
10 changed files with 32 additions and 20 deletions
+12 -4
View File
@@ -32,17 +32,17 @@ You can find the latest released binary at the following links:
## DEPENDENCIES ## DEPENDENCIES
Following software is required to run Linux version of **KCC** and/or bare sources: Following software is required to run Linux version of **KCC** and/or bare sources:
- Python 3.3+ - Python 3.3+
- [PyQt](http://www.riverbankcomputing.co.uk/software/pyqt/download5) 5.6.0+ - [PyQt](https://pypi.python.org/pypi/PyQt5) 5.6.0+
- [Pillow](https://pypi.python.org/pypi/Pillow/) 3.2.0+ - [Pillow](https://pypi.python.org/pypi/Pillow/) 3.2.0+
- [psutil](https://pypi.python.org/pypi/psutil) 4.1.0+ - [psutil](https://pypi.python.org/pypi/psutil) 4.1.0+
- [python-slugify](https://pypi.python.org/pypi/python-slugify) 1.2.0+ - [python-slugify](https://pypi.python.org/pypi/python-slugify) 1.2.0+
- [raven](https://pypi.python.org/pypi/raven) 5.12.0+ - [raven](https://pypi.python.org/pypi/raven) 5.13.0+
- [scandir](https://pypi.python.org/pypi/scandir) 1.2.0+ _(needed only when using Python 3.3 or 3.4)_ - [scandir](https://pypi.python.org/pypi/scandir) 1.2.0+ _(needed only when using Python 3.3 or 3.4)_
On Debian based distributions these two commands should install all needed dependencies: On Debian based distributions these two commands should install all needed dependencies:
``` ```
sudo apt-get install python3 python3-dev python3-pip python3-pyqt5 libpng-dev libjpeg-dev p7zip-full unrar sudo apt-get install python3 python3-dev python3-pip libpng-dev libjpeg-dev p7zip-full unrar
sudo pip3 install --upgrade pillow python-slugify psutil scandir raven sudo pip3 install --upgrade pillow python-slugify psutil scandir raven pyqt5
``` ```
### Optional dependencies ### Optional dependencies
@@ -156,6 +156,14 @@ The app relies and includes the following scripts:
* [Kobo Aura H2O](http://kcc.iosphe.re/Samples/Ubunchu-KoAH2O.kepub.epub) * [Kobo Aura H2O](http://kcc.iosphe.re/Samples/Ubunchu-KoAH2O.kepub.epub)
## CHANGELOG ## CHANGELOG
####5.1:
* GUI now can be resized and high DPI support was somewhat improved
* Added profile for Kindle Oasis
* Implemented new error reporting mechanism
* CLI version now support additional cropping options
* Fixed permission issues on Windows
* Fixed multiple smaller issues
####5.0.1: ####5.0.1:
* Fixed Panel View placement issues * Fixed Panel View placement issues
* Decreased application startup time * Decreased application startup time
+1 -1
View File
@@ -1,5 +1,5 @@
#define MyAppName "Kindle Comic Converter" #define MyAppName "Kindle Comic Converter"
#define MyAppVersion "5.0.1" #define MyAppVersion "5.1"
#define MyAppPublisher "Ciro Mattia Gonano, Paweł Jastrzębski" #define MyAppPublisher "Ciro Mattia Gonano, Paweł Jastrzębski"
#define MyAppURL "http://kcc.iosphe.re/" #define MyAppURL "http://kcc.iosphe.re/"
#define MyAppExeName "KCC.exe" #define MyAppExeName "KCC.exe"
+1 -1
View File
@@ -2,7 +2,7 @@
# Resource object code # Resource object code
# #
# Created by: The Resource Compiler for PyQt5 (Qt v5.5.1) # Created by: The Resource Compiler for PyQt5 (Qt v5.6)
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!
+1 -1
View File
@@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'gui\KCC.ui' # Form implementation generated from reading ui file 'gui\KCC.ui'
# #
# Created by: PyQt5 UI code generator 5.5.1 # Created by: PyQt5 UI code generator 5.6
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!
+1 -1
View File
@@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'gui\MetaEditor.ui' # Form implementation generated from reading ui file 'gui\MetaEditor.ui'
# #
# Created by: PyQt5 UI code generator 5.5.1 # Created by: PyQt5 UI code generator 5.6
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!
+1 -1
View File
@@ -1,4 +1,4 @@
__version__ = '5.0.1' __version__ = '5.1'
__license__ = 'ISC' __license__ = 'ISC'
__copyright__ = '2012-2016, Ciro Mattia Gonano <ciromattia@gmail.com>, Pawel Jastrzebski <pawelj@iosphe.re>' __copyright__ = '2012-2016, Ciro Mattia Gonano <ciromattia@gmail.com>, Pawel Jastrzebski <pawelj@iosphe.re>'
__docformat__ = 'restructuredtext en' __docformat__ = 'restructuredtext en'
+1
View File
@@ -61,6 +61,7 @@ class PdfJpgExtract:
iend += endfix iend += endfix
jpg = pdf[istart:iend] jpg = pdf[istart:iend]
jpgfile = open(self.path + "/jpg%d.jpg" % njpg, "wb") jpgfile = open(self.path + "/jpg%d.jpg" % njpg, "wb")
# noinspection PyTypeChecker
jpgfile.write(jpg) jpgfile.write(jpg)
jpgfile.close() jpgfile.close()
njpg += 1 njpg += 1
+5 -4
View File
@@ -144,9 +144,10 @@ def removeFromZIP(zipfname, *filenames):
def sanitizeTrace(traceback): def sanitizeTrace(traceback):
return ''.join(format_tb(traceback))\ return ''.join(format_tb(traceback))\
.replace('C:\\Users\\pawel\\Documents\\Projekty\\KCC\\', '')\ .replace('C:\\Users\\pawel\\Documents\\Projekty\\KCC\\', '') \
.replace('C:\\Python34\\', '')\ .replace('C:\\Users\\Paweł\\Documents\\Projekty\\KCC\\', '') \
.replace('c:\\python34\\', '') .replace('C:\\Python35\\', '')\
.replace('c:\\python35\\', '')
def dependencyCheck(level): def dependencyCheck(level):
@@ -161,7 +162,7 @@ def dependencyCheck(level):
try: try:
import raven import raven
except ImportError: except ImportError:
missing.append('raven 5.12.0+') missing.append('raven 5.13.0+')
if level > 1: if level > 1:
try: try:
from psutil import __version__ as psutilVersion from psutil import __version__ as psutilVersion
+3 -3
View File
@@ -9,7 +9,7 @@
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>MacOS/Kindle Comic Converter</string> <string>MacOS/Kindle Comic Converter</string>
<key>CFBundleGetInfoString</key> <key>CFBundleGetInfoString</key>
<string>KindleComicConverter 5.0.1, written 2012-2016 by Ciro Mattia Gonano and Pawel Jastrzebski</string> <string>KindleComicConverter 5.1, written 2012-2016 by Ciro Mattia Gonano and Pawel Jastrzebski</string>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string>comic2ebook.icns</string> <string>comic2ebook.icns</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
@@ -21,11 +21,11 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>5.0.1</string> <string>5.1</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>5.0.1</string> <string>5.1</string>
<key>LSEnvironment</key> <key>LSEnvironment</key>
<dict> <dict>
<key>PATH</key> <key>PATH</key>
+6 -4
View File
@@ -107,14 +107,16 @@ class BuildCommand(build):
'build/_scripts/kcc-c2p'], 'build/_scripts/kcc-c2p'],
packages=['kcc'], packages=['kcc'],
install_requires=[ install_requires=[
'Pillow>=3.0.0', 'PyQt5>=5.6.0'
'psutil>=3.2.2', 'Pillow>=3.2.0',
'python-slugify>=1.1.4', 'psutil>=4.1.0',
'python-slugify>=1.2.0',
'raven>=5.13.0',
], ],
zip_safe=False, zip_safe=False,
) )
if sys.version_info[1] < 5: if sys.version_info[1] < 5:
OPTIONS['install_requires'].append('scandir>=1.1.0') OPTIONS['install_requires'].append('scandir>=1.2.0')
build.run(self) build.run(self)