Commit 447b4c40 authored by Luke Macken's avatar Luke Macken

Make our version checker py2.4 compat

parent 8f7bec09
......@@ -8,11 +8,11 @@ long_description = f.read().split('split here')[1]
f.close()
requirements = []
if sys.version_info.major == 3:
if sys.version_info.minor < 2:
if sys.version_info[0] == 3:
if sys.version_info[1] < 2:
requirements.append('argparse')
elif sys.version_info.major == 2:
if sys.version_info.minor < 7:
elif sys.version_info[0] == 2:
if sys.version_info[1] < 7:
requirements.append('argparse')
setup(name='pyrasite',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment