Skip to content

Commit

Permalink
Fix install_requires on setup.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
lefterisnik committed Dec 27, 2017
1 parent 5148011 commit 99cd203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))

if sys.version_info > (2, 7):
if sys.version_info.major > 2:
install_requires = ['Django>=1.8']
else:
install_requires = ['Django>=1.8,<2.0']
Expand Down

0 comments on commit 99cd203

Please sign in to comment.