Skip to content

Commit

Permalink
Fix version compatibilities
Browse files Browse the repository at this point in the history
  • Loading branch information
torre76 committed Sep 30, 2018
1 parent 033821b commit 4d74b54
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Expand Up @@ -22,11 +22,11 @@
if int(setuptools.__version__.split(".", 1)[0]) < 18:
if sys.version_info[0:2] < (3, 4):
INSTALL_REQUIRES.append("enum34 >= 1.1.6")
INSTALL_REQUIRES.append("Django >= 1.7, < 2")
INSTALL_REQUIRES.insert(0, "Django >= 1.7, < 2")
elif sys.version_info[0:2] == (3, 4):
INSTALL_REQUIRES.append("Django >= 1.7, <= 2")
INSTALL_REQUIRES.insert(0, "Django >= 1.7, <= 2")
else:
INSTALL_REQUIRES.append("Django >= 1.7")
INSTALL_REQUIRES.insert(0, "Django >= 1.7")
else:
EXTRAS_REQUIRE[":python_version<'3.4'"] = ["enum34 >= 1.1.6"]

Expand Down

0 comments on commit 4d74b54

Please sign in to comment.