Add ordereddict to install_requires for py26
This commit is contained in:
parent
a546a612bd
commit
f8bd693f83
3
setup.py
3
setup.py
|
@ -46,11 +46,12 @@ def main():
|
||||||
install_requires = ['py>=1.4.33', 'setuptools'] # pluggy is vendored in _pytest.vendored_packages
|
install_requires = ['py>=1.4.33', 'setuptools'] # pluggy is vendored in _pytest.vendored_packages
|
||||||
extras_require = {}
|
extras_require = {}
|
||||||
if has_environment_marker_support():
|
if has_environment_marker_support():
|
||||||
extras_require[':python_version=="2.6"'] = ['argparse']
|
extras_require[':python_version=="2.6"'] = ['argparse', 'ordereddict']
|
||||||
extras_require[':sys_platform=="win32"'] = ['colorama']
|
extras_require[':sys_platform=="win32"'] = ['colorama']
|
||||||
else:
|
else:
|
||||||
if sys.version_info < (2, 7):
|
if sys.version_info < (2, 7):
|
||||||
install_requires.append('argparse')
|
install_requires.append('argparse')
|
||||||
|
install_requires.append('ordereddict')
|
||||||
if sys.platform == 'win32':
|
if sys.platform == 'win32':
|
||||||
install_requires.append('colorama')
|
install_requires.append('colorama')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue