Fix Python version detection for Python 2.6
This commit is contained in:
parent
158e87152c
commit
2eea58a64c
2
setup.py
2
setup.py
@ -3,7 +3,7 @@ from setuptools import setup, find_packages
|
|||||||
|
|
||||||
|
|
||||||
py26_dependency = []
|
py26_dependency = []
|
||||||
if sys.version_info.major == 2 and sys.version_info.minor < 7:
|
if sys.version_info <= (2, 6):
|
||||||
py26_dependency = ["argparse >= 1.2.1"]
|
py26_dependency = ["argparse >= 1.2.1"]
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user