diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-12-18 07:42:27 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-12-18 07:47:34 -0600 |
commit | 5bea5ca0233be05e09d8c62fdeae86187e73a48e (patch) | |
tree | d3949e053b144e7a358c295570bb76c3c88faa1b | |
parent | 9cde70ae840685f2bae6173b6beb192ae3866dc3 (diff) | |
download | cryptography-5bea5ca0233be05e09d8c62fdeae86187e73a48e.tar.gz cryptography-5bea5ca0233be05e09d8c62fdeae86187e73a48e.tar.bz2 cryptography-5bea5ca0233be05e09d8c62fdeae86187e73a48e.zip |
make enum34 installation conditional on python < 3.4
-rw-r--r-- | setup.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -36,12 +36,14 @@ VECTORS_DEPENDENCY = "cryptography_vectors=={0}".format(about['__version__']) 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", |