docs: fix missing dependency on pip-tools for docs-venv
Type: fix Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: Iadb72fd0cb434a7ca2f6cbda7d78209f0746f0c6
This commit is contained in:
@ -13,6 +13,7 @@ fi
|
|||||||
OS_ID=$(grep '^ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
|
OS_ID=$(grep '^ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
|
||||||
OS_VERSION=$(grep '^VERSION_ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
|
OS_VERSION=$(grep '^VERSION_ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
|
||||||
PIP_VERSION=$(grep 'PIP_VERSION=' $WS_ROOT/test/Makefile | cut -d'=' -f2)
|
PIP_VERSION=$(grep 'PIP_VERSION=' $WS_ROOT/test/Makefile | cut -d'=' -f2)
|
||||||
|
PIP_TOOLS_VERSION=$(grep 'PIP_TOOLS_VERSION=' $WS_ROOT/test/Makefile | cut -d'=' -f2)
|
||||||
|
|
||||||
if [ "$1" == "venv" ]
|
if [ "$1" == "venv" ]
|
||||||
then
|
then
|
||||||
@ -21,6 +22,7 @@ then
|
|||||||
$PYTHON_INTERP -m venv $VENV_DIR
|
$PYTHON_INTERP -m venv $VENV_DIR
|
||||||
source $VENV_DIR/bin/activate;
|
source $VENV_DIR/bin/activate;
|
||||||
$PYTHON_INTERP -m pip install pip==$PIP_VERSION
|
$PYTHON_INTERP -m pip install pip==$PIP_VERSION
|
||||||
|
$PYTHON_INTERP -m pip install pip-tools==$PIP_TOOLS_VERSION
|
||||||
$PYTHON_INTERP -m pip install -r $WS_ROOT/test/requirements-3.txt
|
$PYTHON_INTERP -m pip install -r $WS_ROOT/test/requirements-3.txt
|
||||||
else
|
else
|
||||||
[ -n "$(declare -f deactivate)" ] && deactivate
|
[ -n "$(declare -f deactivate)" ] && deactivate
|
||||||
|
Reference in New Issue
Block a user