We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0804ea3 commit 8a8f123Copy full SHA for 8a8f123
setup.py
@@ -20,7 +20,6 @@
20
21
# Always prefer setuptools over distutils
22
from setuptools import setup, find_packages
23
-from sys import version_info
24
from os import path
25
26
here = path.abspath(path.dirname(__file__))
@@ -67,14 +66,13 @@
67
66
install_requires=[
68
'configargparse<1.0.0',
69
'bidict<1.0.0',
+ # Only use enum34 for Python older than 3.4
70
+ 'enum34<2.0.0; python_version < "3.4"',
71
'ipaddress<2.0.0',
72
'passlib<2.0.0',
73
'regex<=2019.6.8',
74
'six<2.0.0'
- ] + (
75
- # Only use enum34 for Python older than 3.4
76
- ['enum34<2.0.0'] if version_info < (3, 4) else []
77
- ),
+ ],
78
79
# List additional groups of dependencies here (e.g. development
80
# dependencies). You can install these using the following syntax,
0 commit comments