diff options
author | Paweł Jastrzębski <pawelj@iosphe.re> | 2015-06-15 22:19:08 +0200 |
---|---|---|
committer | Paweł Jastrzębski <pawelj@iosphe.re> | 2015-06-15 22:19:08 +0200 |
commit | 91b06016bb1465c8ca917aa8be21b207252518d6 (patch) | |
tree | 4bd9017938e7e9d15843e373963dcdbd6a411a42 | |
parent | Error handling tweak (diff) | |
download | kcc-91b06016bb1465c8ca917aa8be21b207252518d6.tar.gz kcc-91b06016bb1465c8ca917aa8be21b207252518d6.tar.bz2 kcc-91b06016bb1465c8ca917aa8be21b207252518d6.zip |
Dependency update
-rw-r--r-- | README.md | 8 | ||||
-rw-r--r-- | kcc/shared.py | 26 | ||||
-rwxr-xr-x | setup.py | 10 |
3 files changed, 22 insertions, 22 deletions
diff --git a/README.md b/README.md index ef85cfd..4438778 100644 --- a/README.md +++ b/README.md @@ -33,10 +33,10 @@ You can find the latest released binary at the following links: 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.2.0+ -- [Pillow](http://pypi.python.org/pypi/Pillow/) 2.7.0+ -- [psutil](https://pypi.python.org/pypi/psutil) 2.0+ -- [python-slugify](http://pypi.python.org/pypi/python-slugify) 0.1.0+ -- [scandir](https://pypi.python.org/pypi/scandir) 0.9+ +- [Pillow](http://pypi.python.org/pypi/Pillow/) 2.8.2+ +- [psutil](https://pypi.python.org/pypi/psutil) 3.0.0+ +- [python-slugify](http://pypi.python.org/pypi/python-slugify) 1.1.2+ +- [scandir](https://pypi.python.org/pypi/scandir) 1.1.0+ On Debian based distributions these two commands should install all needed dependencies: ``` diff --git a/kcc/shared.py b/kcc/shared.py index eee3e51..941d9b5 100644 --- a/kcc/shared.py +++ b/kcc/shared.py @@ -130,28 +130,28 @@ def dependencyCheck(level): if level > 1: try: from psutil import __version__ as psutilVersion - if StrictVersion('2.0.0') > StrictVersion(psutilVersion): - missing.append('psutil 2.0.0+') + if StrictVersion('3.0.0') > StrictVersion(psutilVersion): + missing.append('psutil 3.0.0+') except ImportError: - missing.append('psutil 2.0.0+') + missing.append('psutil 3.0.0+') try: from slugify import __version__ as slugifyVersion - if StrictVersion('0.1.0') > StrictVersion(slugifyVersion): - missing.append('python-slugify 0.1.0+') + if StrictVersion('1.1.2') > StrictVersion(slugifyVersion): + missing.append('python-slugify 1.1.2+') except ImportError: - missing.append('python-slugify 0.1.0+') + missing.append('python-slugify 1.1.2+') try: from PIL import PILLOW_VERSION as pillowVersion - if StrictVersion('2.7.0') > StrictVersion(pillowVersion): - missing.append('Pillow 2.7.0+') + if StrictVersion('2.8.2') > StrictVersion(pillowVersion): + missing.append('Pillow 2.8.2+') except ImportError: - missing.append('Pillow 2.7.0+') + missing.append('Pillow 2.8.2+') try: from scandir import __version__ as scandirVersion - if StrictVersion('0.9') > StrictVersion(scandirVersion): - missing.append('scandir 0.9+') + if StrictVersion('1.1') > StrictVersion(scandirVersion): + missing.append('scandir 1.1+') except ImportError: - missing.append('scandir 0.9+') + missing.append('scandir 1.1+') if len(missing) > 0: print('ERROR: ' + ', '.join(missing) + ' is not installed!') - exit(1) \ No newline at end of file + exit(1) diff --git a/setup.py b/setup.py index c50a190..64774e5 100755 --- a/setup.py +++ b/setup.py @@ -135,10 +135,10 @@ else: scripts=['build/_scripts/kcc', 'build/_scripts/kcc-c2e', 'build/_scripts/kcc-c2p'], packages=['kcc'], install_requires=[ - 'Pillow>=2.7.0', - 'psutil>=2.0', - 'python-slugify>=0.1.0', - 'scandir>=0.9', + 'Pillow>=2.8.2', + 'psutil>=3.0.0', + 'python-slugify>=1.1.2', + 'scandir>=1.1.0', ], zip_safe=False, ) @@ -159,4 +159,4 @@ if platform == 'darwin': makedirs('dist/' + NAME + '.app/Contents/PlugIns/platforms', exist_ok=True) copyfile('other/libqcocoa.dylib', 'dist/' + NAME + '.app/Contents/PlugIns/platforms/libqcocoa.dylib') chmod('dist/' + NAME + '.app/Contents/Resources/unrar', 0o777) - chmod('dist/' + NAME + '.app/Contents/Resources/7za', 0o777) \ No newline at end of file + chmod('dist/' + NAME + '.app/Contents/Resources/7za', 0o777) |