Merge "Use install_requires in setup.py"

This commit is contained in:
Jenkins 2012-12-18 18:51:42 +00:00 committed by Gerrit Code Review
commit 9543a71376
2 changed files with 11 additions and 7 deletions

View File

@ -22,6 +22,10 @@ from swift import __canonical_version__ as version
name = 'swift'
with open('tools/pip-requires', 'r') as f:
requires = [x.strip() for x in f if x.strip()]
setup(
name=name,
version=version,
@ -40,7 +44,7 @@ setup(
'Environment :: No Input/Output (Daemon)',
'Environment :: OpenStack',
],
install_requires=[], # removed for better compat
install_requires=requires,
scripts=[
'bin/swift-account-audit',
'bin/swift-account-auditor',

View File

@ -1,7 +1,7 @@
eventlet==0.9.15
greenlet==0.3.1
netifaces==0.6
pastedeploy==1.3.3
simplejson==2.0.9
xattr==0.4
eventlet>=0.9.15
greenlet>=0.3.1
netifaces>=0.6
pastedeploy>=1.3.3
simplejson>=2.0.9
xattr>=0.4
python-swiftclient