Merge "Simple pip install fails under python3"
This commit is contained in:
commit
50982ad11e
@ -247,7 +247,12 @@ function init_aodh {
|
||||
function install_aodh {
|
||||
_aodh_prepare_coordination
|
||||
install_aodhclient
|
||||
sudo -H pip install -e "$AODH_DIR"[test,$AODH_BACKEND]
|
||||
if python3_enabled; then
|
||||
PIP=$(which pip 2>/dev/null || which pip-python 2>/dev/null)
|
||||
sudo -H python${PYTHON3_VERSION} $PIP install -e "$AODH_DIR"[test,$AODH_BACKEND]
|
||||
else
|
||||
sudo -H pip install -e "$AODH_DIR"[test,$AODH_BACKEND]
|
||||
fi
|
||||
sudo install -d -o $STACK_USER -m 755 $AODH_CONF_DIR
|
||||
|
||||
if [ "$AODH_DEPLOY" == "mod_wsgi" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user