Skip to content

Commit

Permalink
Add missing entries in setup, fix up pip-requires
Browse files Browse the repository at this point in the history
setup.py still has references to nova/compute and was missing some
requires statements, and more importantly didn't hvae the install_requires.

Also, tools/pip-requires needed lxml versions set, as well as
added the missing setuptools_git entry.

This was exposed when trying to run Grenade as the requires.txt
file was never generated.

Fixes bug #1055693

Change-Id: Iaf9669d66e89507989ef3fde630dc2b488a97cfc
(cherry picked from commit 7f00d13)
  • Loading branch information
j-griffith committed Sep 24, 2012
1 parent 2b5bc3c commit 26f5ae0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
10 changes: 7 additions & 3 deletions setup.py
Expand Up @@ -21,23 +21,27 @@
from cinder.openstack.common import setup as common_setup
from cinder import version

requires = common_setup.parse_requirements()

setuptools.setup(name='cinder',
version=version.canonical_version_string(),
description='cloud computing fabric controller',
description='block storage service',
author='OpenStack',
author_email='cinder@lists.launchpad.net',
url='http://www.openstack.org/',
cmdclass=common_setup.get_cmdclass(),
packages=setuptools.find_packages(exclude=['bin', 'smoketests']),
install_requires=requires,
include_package_data=True,
test_suite='nose.collector',
setup_requires=['setuptools-git>=0.4'],
setup_requires=['setuptools_git>=0.4'],
scripts=['bin/cinder-all',
'bin/cinder-api',
'bin/cinder-clear-rabbit-queues',
'bin/cinder-manage',
'bin/cinder-rootwrap',
'bin/cinder-scheduler',
'bin/cinder-volume',
'bin/cinder-volume-usage-audit'],
'bin/cinder-volume-usage-audit',
],
py_modules=[])
7 changes: 4 additions & 3 deletions tools/pip-requires
@@ -1,10 +1,10 @@
SQLAlchemy>=0.7.3
amqplib==0.6.1
anyjson==0.2.4
eventlet
eventlet>=0.9.17
kombu==1.0.4
lockfile==0.8
lxml==2.3
lxml>=2.3,<=2.3.5
python-daemon==1.5.5
routes==1.12.3
WebOb==1.0.8
Expand All @@ -17,4 +17,5 @@ suds==0.4
paramiko
Babel>=0.9.6
iso8601>=0.1.4
python-glanceclient<2
setuptools_git>=0.4
python-glanceclient>=0.5.0,<2
2 changes: 1 addition & 1 deletion tools/test-requires
Expand Up @@ -8,6 +8,6 @@ nosexcover
openstack.nose_plugin
nosehtmloutput
pep8==1.1
pylint==0.25.2
sphinx>=1.1.2
MySQL-python
setuptools-git>=0.4

0 comments on commit 26f5ae0

Please sign in to comment.