Update CherryPy Dependency for python2 compatibility

According to CherryPy's Pypi page, CherryPy does not support Python2 anymore starting in version 18.0.0. Indeed, an error appears at runtime. This commit fixes this problem by enforcing a version < 18.0.0 to CherryPy
This commit is contained in:
Aniem 2018-10-29 16:28:25 +01:00 committed by GitHub
parent 1ed654c91b
commit 0ac60bd462
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ from version import version
# change requirements according to python version
if sys.version_info[0] == 2:
install_requires = [
'CherryPy >= 3.0.0',
'CherryPy >= 3.0.0, < 18.0.0',
'python-ldap',
'PyYAML',
'Mako'