about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaweł Jastrzębski <pawelj@iosphe.re>2016-04-25 18:40:51 +0200
committerPaweł Jastrzębski <pawelj@iosphe.re>2016-04-25 18:40:51 +0200
commite4dccfe60339d1717af73f42d304da0a7410851d (patch)
tree329256a2b4acc577e01dd75e234291bdddeb79f8
parentSave GUI size (diff)
downloadkcc-e4dccfe60339d1717af73f42d304da0a7410851d.tar.gz
kcc-e4dccfe60339d1717af73f42d304da0a7410851d.tar.bz2
kcc-e4dccfe60339d1717af73f42d304da0a7410851d.zip
Updated README + version bump
-rw-r--r--README.md16
-rw-r--r--kcc.iss2
-rw-r--r--kcc/KCC_rc.py2
-rw-r--r--kcc/KCC_ui.py2
-rw-r--r--kcc/KCC_ui_editor.py2
-rw-r--r--kcc/__init__.py2
-rw-r--r--kcc/pdfjpgextract.py1
-rw-r--r--kcc/shared.py9
-rw-r--r--other/osx/Info.plist6
-rwxr-xr-xsetup.py10
10 files changed, 32 insertions, 20 deletions
diff --git a/README.md b/README.md
index b3aa05c..edd4228 100644
--- a/README.md
+++ b/README.md
@@ -32,17 +32,17 @@ You can find the latest released binary at the following links:
 ## DEPENDENCIES
 Following software is required to run Linux version of **KCC** and/or bare sources:
 - 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+
 - [psutil](https://pypi.python.org/pypi/psutil) 4.1.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)_
 
 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 pip3 install --upgrade pillow python-slugify psutil scandir raven
+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 pyqt5
 ```
 
 ### 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)
 
 ## 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:
 * Fixed Panel View placement issues
 * Decreased application startup time
diff --git a/kcc.iss b/kcc.iss
index 9e885e5..019ed20 100644
--- a/kcc.iss
+++ b/kcc.iss
@@ -1,5 +1,5 @@
 #define MyAppName "Kindle Comic Converter"
-#define MyAppVersion "5.0.1"
+#define MyAppVersion "5.1"
 #define MyAppPublisher "Ciro Mattia Gonano, Paweł Jastrzębski"
 #define MyAppURL "http://kcc.iosphe.re/"
 #define MyAppExeName "KCC.exe"
diff --git a/kcc/KCC_rc.py b/kcc/KCC_rc.py
index de54ea4..e4334c8 100644
--- a/kcc/KCC_rc.py
+++ b/kcc/KCC_rc.py
@@ -2,7 +2,7 @@
 
 # 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!
 
diff --git a/kcc/KCC_ui.py b/kcc/KCC_ui.py
index cbf5714..4f5db8f 100644
--- a/kcc/KCC_ui.py
+++ b/kcc/KCC_ui.py
@@ -2,7 +2,7 @@
 
 # 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!
 
diff --git a/kcc/KCC_ui_editor.py b/kcc/KCC_ui_editor.py
index 5a8cc5a..3144911 100644
--- a/kcc/KCC_ui_editor.py
+++ b/kcc/KCC_ui_editor.py
@@ -2,7 +2,7 @@
 
 # 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!
 
diff --git a/kcc/__init__.py b/kcc/__init__.py
index bd7dc49..fb4f012 100644
--- a/kcc/__init__.py
+++ b/kcc/__init__.py
@@ -1,4 +1,4 @@
-__version__ = '5.0.1'
+__version__ = '5.1'
 __license__ = 'ISC'
 __copyright__ = '2012-2016, Ciro Mattia Gonano <ciromattia@gmail.com>, Pawel Jastrzebski <pawelj@iosphe.re>'
 __docformat__ = 'restructuredtext en'
diff --git a/kcc/pdfjpgextract.py b/kcc/pdfjpgextract.py
index 06403ad..f4d5813 100644
--- a/kcc/pdfjpgextract.py
+++ b/kcc/pdfjpgextract.py
@@ -61,6 +61,7 @@ class PdfJpgExtract:
             iend += endfix
             jpg = pdf[istart:iend]
             jpgfile = open(self.path + "/jpg%d.jpg" % njpg, "wb")
+            # noinspection PyTypeChecker
             jpgfile.write(jpg)
             jpgfile.close()
             njpg += 1
diff --git a/kcc/shared.py b/kcc/shared.py
index 289f62a..c149502 100644
--- a/kcc/shared.py
+++ b/kcc/shared.py
@@ -144,9 +144,10 @@ def removeFromZIP(zipfname, *filenames):
 
 def sanitizeTrace(traceback):
     return ''.join(format_tb(traceback))\
-        .replace('C:\\Users\\pawel\\Documents\\Projekty\\KCC\\', '')\
-        .replace('C:\\Python34\\', '')\
-        .replace('c:\\python34\\', '')
+        .replace('C:\\Users\\pawel\\Documents\\Projekty\\KCC\\', '') \
+        .replace('C:\\Users\\Paweł\\Documents\\Projekty\\KCC\\', '') \
+        .replace('C:\\Python35\\', '')\
+        .replace('c:\\python35\\', '')
 
 
 def dependencyCheck(level):
@@ -161,7 +162,7 @@ def dependencyCheck(level):
         try:
             import raven
         except ImportError:
-            missing.append('raven 5.12.0+')
+            missing.append('raven 5.13.0+')
     if level > 1:
         try:
             from psutil import __version__ as psutilVersion
diff --git a/other/osx/Info.plist b/other/osx/Info.plist
index 542e230..9c82708 100644
--- a/other/osx/Info.plist
+++ b/other/osx/Info.plist
@@ -9,7 +9,7 @@
 	<key>CFBundleExecutable</key>
 	<string>MacOS/Kindle Comic Converter</string>
 	<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>
 	<string>comic2ebook.icns</string>
 	<key>CFBundleIdentifier</key>
@@ -21,11 +21,11 @@
 	<key>CFBundlePackageType</key>
 	<string>APPL</string>
 	<key>CFBundleShortVersionString</key>
-	<string>5.0.1</string>
+	<string>5.1</string>
 	<key>CFBundleSignature</key>
 	<string>????</string>
 	<key>CFBundleVersion</key>
-	<string>5.0.1</string>
+	<string>5.1</string>
 	<key>LSEnvironment</key>
 	<dict>
 		<key>PATH</key>
diff --git a/setup.py b/setup.py
index e6d68c8..accb440 100755
--- a/setup.py
+++ b/setup.py
@@ -107,14 +107,16 @@ class BuildCommand(build):
                      'build/_scripts/kcc-c2p'],
             packages=['kcc'],
             install_requires=[
-                'Pillow>=3.0.0',
-                'psutil>=3.2.2',
-                'python-slugify>=1.1.4',
+                'PyQt5>=5.6.0'
+                'Pillow>=3.2.0',
+                'psutil>=4.1.0',
+                'python-slugify>=1.2.0',
+                'raven>=5.13.0',
             ],
             zip_safe=False,
         )
         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)