commit | 5bea5ca0233be05e09d8c62fdeae86187e73a48e | [log] [tgz] |
---|---|---|
author | Paul Kehrer <paul.l.kehrer@gmail.com> | Thu Dec 18 07:42:27 2014 -0600 |
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | Thu Dec 18 07:47:34 2014 -0600 |
tree | d3949e053b144e7a358c295570bb76c3c88faa1b | |
parent | 9cde70ae840685f2bae6173b6beb192ae3866dc3 [diff] |
make enum34 installation conditional on python < 3.4
diff --git a/setup.py b/setup.py index ead5ec4..32a87ba 100644 --- a/setup.py +++ b/setup.py
@@ -36,12 +36,14 @@ requirements = [ CFFI_DEPENDENCY, - "enum34", "pyasn1", SIX_DEPENDENCY, SETUPTOOLS_DEPENDENCY ] +if sys.version_info < (3, 4): + requirements.append("enum34") + # If you add a new dep here you probably need to add it in the tox.ini as well test_requirements = [ "pytest",