From 5bea5ca0233be05e09d8c62fdeae86187e73a48e Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Thu, 18 Dec 2014 07:42:27 -0600 Subject: make enum34 installation conditional on python < 3.4 --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index ead5ec4f..32a87ba3 100644 --- a/setup.py +++ b/setup.py @@ -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", -- cgit v1.2.3