Add get-pip command

This commit is contained in:
Daniel Goldberg 2020-02-03 09:16:11 +02:00
parent fb98a9fa12
commit 2a6c2d5836
1 changed files with 3 additions and 0 deletions

View File

@ -109,6 +109,9 @@ if [[ ${python_cmd} == "" ]]; then
python_cmd="python3.7" python_cmd="python3.7"
fi fi
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
${python_cmd} get-pip.py
log_message "Installing island requirements_island" log_message "Installing island requirements_island"
requirements_island="$ISLAND_PATH/requirements.txt" requirements_island="$ISLAND_PATH/requirements.txt"
${python_cmd} -m pip install -r "${requirements_island}" --user --upgrade || handle_error ${python_cmd} -m pip install -r "${requirements_island}" --user --upgrade || handle_error