Set install_requires in setup.py.
Updates setup.py to set install_requires using parse_requirements from openstack-common. This allows DevStack to install nova requirements, as currently they are not handled. Also relaxes the version requirement for lxml to >=2.3,<3. This allows DevStack to install nova requirements without needing to install lxml over the installed python-xml system package, currently 2.3.2. Change-Id: Iccebf9604ba5c6fcacb4c5fa5004f9fcb08944f3
This commit is contained in:
3 changed files with 6 additions and 4 deletions
2
setup.py
2
setup.py
@@ -23,6 +23,7 @@ import setuptools
from nova.openstack.common import setup as common_setup
from nova import version
requires = common_setup.parse_requirements()
setuptools.setup(name='nova',
version=version.canonical_version_string(),
@@ -32,6 +33,7 @@ setuptools.setup(name='nova',
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'],
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.