wsme/setup.py
Ryan Petrello 3c4b0d0531 Require the ordereddict package for py26.
Change-Id: If594a480ecb38974259ecf3df7ca9c30e2128501
2013-09-05 16:21:59 -04:00

25 lines
465 B
Python

from setuptools import setup
import sys
if sys.version_info[:2] <= (2, 5):
webob_version = ' <= 1.1.1'
elif sys.version_info[:2] >= (3, 0):
webob_version = ' >= 1.2.2'
else:
webob_version = ''
install_requires = [
'six',
'simplegeneric',
'WebOb' + webob_version
]
if sys.version_info[:2] <= (2, 6):
install_requires += ('ordereddict',)
setup(
setup_requires=['pbr>=0.5.21'],
install_requires=install_requires,
pbr=True
)