From bac187d7e1c7c3bb2f2968f5c36bdcd03d7ce3a1 Mon Sep 17 00:00:00 2001 From: Donald Stufft Date: Sat, 10 Aug 2013 15:43:51 -0400 Subject: Use an enum for determining BlockCipher operation --- setup.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index c3b754f3..8fd8a724 100644 --- a/setup.py +++ b/setup.py @@ -10,12 +10,19 @@ # implied. # See the License for the specific language governing permissions and # limitations under the License. +import sys from setuptools import setup +install_requires = [ + "cffi>=0.6", +] + +if sys.version_info[:2] < (3, 4): + install_requires += ["enum34"] setup( name="cryptography", license="Apache License, Version 2.0", - install_requires=["cffi>=0.6"], + install_requires=install_requires, ) -- cgit v1.2.3