Use setuptools extra to install openstack stuff
Vitrage can work also in a non openstack environment Don't install openstack stuff unless needed Change-Id: I635d8597c103dd19ae1afd5c7d672bec4f5ff83f
This commit is contained in:
@@ -267,7 +267,7 @@ function init_vitrage {
|
|||||||
# Install Vitrage.
|
# Install Vitrage.
|
||||||
function install_vitrage {
|
function install_vitrage {
|
||||||
install_vitrageclient
|
install_vitrageclient
|
||||||
setup_develop "$VITRAGE_DIR"
|
setup_develop "$VITRAGE_DIR" openstack
|
||||||
sudo install -d -o $STACK_USER -m 755 $VITRAGE_CONF_DIR
|
sudo install -d -o $STACK_USER -m 755 $VITRAGE_CONF_DIR
|
||||||
|
|
||||||
if [[ "$VITRAGE_DEPLOY" == "mod_wsgi" ]]; then
|
if [[ "$VITRAGE_DEPLOY" == "mod_wsgi" ]]; then
|
||||||
|
@@ -12,6 +12,7 @@ cmd2==0.8.1
|
|||||||
contextlib2==0.5.5
|
contextlib2==0.5.5
|
||||||
cotyledon==1.6.8
|
cotyledon==1.6.8
|
||||||
coverage==4.5.1
|
coverage==4.5.1
|
||||||
|
cryptography==2.1
|
||||||
debtcollector==1.19.0
|
debtcollector==1.19.0
|
||||||
deprecation==2.0
|
deprecation==2.0
|
||||||
dogpile.cache==0.6.5
|
dogpile.cache==0.6.5
|
||||||
|
@@ -6,22 +6,10 @@ pbr>=3.1.1 # Apache-2.0
|
|||||||
alembic>=0.9.8 # MIT
|
alembic>=0.9.8 # MIT
|
||||||
Babel>=2.5.3 # BSD
|
Babel>=2.5.3 # BSD
|
||||||
cachetools>=2.0.1 # MIT License
|
cachetools>=2.0.1 # MIT License
|
||||||
|
cryptography>=2.1 # BSD/Apache-2.0
|
||||||
lxml>=4.1.1 # BSD
|
lxml>=4.1.1 # BSD
|
||||||
PyMySQL>=0.8.0 # MIT License
|
PyMySQL>=0.8.0 # MIT License
|
||||||
aodhclient>=1.0.0 # Apache-2.0
|
|
||||||
python-ceilometerclient>=2.9.0 # Apache-2.0
|
|
||||||
python-dateutil>=2.7.0 # BSD
|
python-dateutil>=2.7.0 # BSD
|
||||||
python-keystoneclient>=3.15.0 # Apache-2.0
|
|
||||||
python-neutronclient>=6.7.0 # Apache-2.0
|
|
||||||
python-novaclient>=10.1.0 # Apache-2.0
|
|
||||||
python-heatclient>=1.14.0 # Apache-2.0
|
|
||||||
python-mistralclient>=3.3.0 # Apache-2.0
|
|
||||||
python-openstackclient>=3.12.0 # Apache-2.0
|
|
||||||
python-monascaclient>=1.7.1 # Apache-2.0
|
|
||||||
python-troveclient>=2.2.0 # Apache-2.0
|
|
||||||
python-zaqarclient >=1.2.0
|
|
||||||
gnocchiclient>=3.3.1 # Apache-2.0
|
|
||||||
pyzabbix>=0.7.4 # LGPL
|
|
||||||
networkx>=2.3 # BSD
|
networkx>=2.3 # BSD
|
||||||
oslo.config>=5.2.0 # Apache-2.0
|
oslo.config>=5.2.0 # Apache-2.0
|
||||||
oslo.context>=2.20.0 # Apache-2.0
|
oslo.context>=2.20.0 # Apache-2.0
|
||||||
|
18
setup.cfg
18
setup.cfg
@@ -21,6 +21,24 @@ classifier =
|
|||||||
Programming Language :: Python :: 3.7
|
Programming Language :: Python :: 3.7
|
||||||
Topic :: System :: Monitoring
|
Topic :: System :: Monitoring
|
||||||
|
|
||||||
|
[extras]
|
||||||
|
openstack =
|
||||||
|
aodhclient>=1.0.0
|
||||||
|
python-ceilometerclient>=2.9.0
|
||||||
|
python-keystoneclient>=3.15.0
|
||||||
|
python-neutronclient>=6.7.0
|
||||||
|
python-novaclient>=10.1.0
|
||||||
|
python-heatclient>=1.14.0
|
||||||
|
python-mistralclient>=3.3.0
|
||||||
|
python-openstackclient>=3.12.0
|
||||||
|
python-monascaclient>=1.7.1
|
||||||
|
python-troveclient>=2.2.0
|
||||||
|
python-zaqarclient >=1.2.0
|
||||||
|
gnocchiclient>=3.3.1
|
||||||
|
|
||||||
|
zabbix =
|
||||||
|
pyzabbix>=0.7.4 # LGPL
|
||||||
|
|
||||||
[entry_points]
|
[entry_points]
|
||||||
console_scripts =
|
console_scripts =
|
||||||
vitrage-api = vitrage.cli.api:main
|
vitrage-api = vitrage.cli.api:main
|
||||||
|
Reference in New Issue
Block a user