aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authortpavelchak2020-02-07 15:43:26 +0200
committertpavelchak2020-02-07 15:43:26 +0200
commit962903afc7634d52444ec047a4ee59d9e19ec330 (patch)
treec02d0eee6667fb7a956d4a2fc0e32e67b1d70fdf /setup.py
parent04702253c51579c883c93bc72e4f94c8f258f434 (diff)
downloadeventmq-962903afc7634d52444ec047a4ee59d9e19ec330.tar.gz
eventmq-962903afc7634d52444ec047a4ee59d9e19ec330.zip
Fix Python 2/3 compatibility issues
- version bump 0.3.12 - upgrade `six, flake8` libs - fix `flake8` check issues - add import of `from __future__ import print_function` - fix params for `zsocket.setsockopt()` and `hashlib.sha1()` methods - use `range, map` functions from `six` - wrap result of `map, dict.keys(), dict.values()` functions in a list - fix `EMQdeque.__unicode__()` method for py2 support - fix using of exception messages - update integer division for support the same behavior in py3 as is in py2 - refactor using of `filter` function
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/setup.py b/setup.py
index b4adf1d..3bcbc4c 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,7 @@ setup(
20 packages=find_packages(), 20 packages=find_packages(),
21 install_requires=[ 21 install_requires=[
22 'pyzmq==18.1.0', 22 'pyzmq==18.1.0',
23 'six==1.10.0', 23 'six==1.14.0',
24 'monotonic==0.4', 24 'monotonic==0.4',
25 'croniter==0.3.10', 25 'croniter==0.3.10',
26 'future==0.15.2', 26 'future==0.15.2',
@@ -29,9 +29,9 @@ setup(
29 extras_require={ 29 extras_require={
30 'docs': ['Sphinx==1.5.2', ], 30 'docs': ['Sphinx==1.5.2', ],
31 'testing': [ 31 'testing': [
32 'flake8==3.2.1', 32 'flake8==3.7.8',
33 'flake8-import-order==0.11', 33 'flake8-import-order==0.18.1',
34 'flake8-print==2.0.2', 34 'flake8-print==3.1.0',
35 'coverage==4.0.3', 35 'coverage==4.0.3',
36 'testfixtures==4.7.0', 36 'testfixtures==4.7.0',
37 'freezegun==0.3.7', 37 'freezegun==0.3.7',