3c4b0d0531
Change-Id: If594a480ecb38974259ecf3df7ca9c30e2128501
25 lines
465 B
Python
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
|
|
)
|