]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Add missing entries in setup, fix up pip-requires
authorJohn Griffith <john.griffith@solidfire.com>
Mon, 24 Sep 2012 18:59:15 +0000 (12:59 -0600)
committerJohn Griffith <john.griffith@solidfire.com>
Mon, 24 Sep 2012 20:30:52 +0000 (14:30 -0600)
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

setup.py
tools/pip-requires
tools/test-requires

index 350ce25a196c534f8629a4f948015f9e79f75ba9..02217af8be5aa23fc12fbffe038969bb346f754c 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -21,17 +21,20 @@ import setuptools
 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',
@@ -39,5 +42,6 @@ setuptools.setup(name='cinder',
                'bin/cinder-rootwrap',
                'bin/cinder-scheduler',
                'bin/cinder-volume',
-               'bin/cinder-volume-usage-audit'],
+               'bin/cinder-volume-usage-audit',
+              ],
         py_modules=[])
index 34538e3cf918b37fd948f291e294caab550e561c..d45a24386c78cb3dec2f67432bf1a748f4d286dc 100644 (file)
@@ -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
@@ -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
index 108e4e65f7044e10a4705e740ad01a9515834bf5..e23a2578b31edaad0630a06a2cbcc2ed0166d188 100644 (file)
@@ -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