From 9a4951f86de44b1e2000a4dfb54b45100193a828 Mon Sep 17 00:00:00 2001 From: David Wobrock Date: Sun, 20 Oct 2019 21:36:18 +0200 Subject: [PATCH] Add 'enum34' dep for a Python version previous to 3.4 (for 2.7 mostly) --- setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index fded13a..a826727 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,11 @@ setup( author_email="david.wobrock@gmail.com", license="Apache License 2.0", packages=find_packages(exclude=["tests/"]), - install_requires=["django>=1.11", "appdirs==1.4.3"], + install_requires=[ + "django>=1.11", + "appdirs==1.4.3", + 'enum34==1.1.6;python_version<"3.4"', + ], extras_require={ "test": [ "tox==3.9.0",