summaryrefslogtreecommitdiff
path: root/dev-python/cryptography/files/0.7-setup.patch
blob: db5cc0239c70388d806dcde8799815037017a53e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
https://github.com/pyca/cryptography/commit/5bea5ca0233be05e09d8c62fdeae86187e73a48e
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",