Merge "Cloning requirements repository before pip install"
This commit is contained in:
commit
32e0febbc0
10
stack.sh
10
stack.sh
@ -683,6 +683,11 @@ save_stackenv $LINENO
|
||||
|
||||
# OpenStack uses a fair number of other projects.
|
||||
|
||||
# Bring down global requirements before any use of pip_install. This is
|
||||
# necessary to ensure that the constraints file is in place before we
|
||||
# attempt to apply any constraints to pip installs.
|
||||
git_clone $REQUIREMENTS_REPO $REQUIREMENTS_DIR $REQUIREMENTS_BRANCH
|
||||
|
||||
# Install package requirements
|
||||
# Source it so the entire environment is available
|
||||
echo_summary "Installing package prerequisites"
|
||||
@ -695,11 +700,6 @@ fi
|
||||
|
||||
TRACK_DEPENDS=${TRACK_DEPENDS:-False}
|
||||
|
||||
# Bring down global requirements before any use of pip_install. This is
|
||||
# necessary to ensure that the constraints file is in place before we
|
||||
# attempt to apply any constraints to pip installs.
|
||||
git_clone $REQUIREMENTS_REPO $REQUIREMENTS_DIR $REQUIREMENTS_BRANCH
|
||||
|
||||
# Install Python packages into a virtualenv so that we can track them
|
||||
if [[ $TRACK_DEPENDS = True ]]; then
|
||||
echo_summary "Installing Python packages into a virtualenv $DEST/.venv"
|
||||
|
Loading…
Reference in New Issue
Block a user