guake-guake/scripts/bootstrap-dev-pip.sh
Gaetan Semet bad084eb82 update pip deps and allow setting PYTHON= in Makefile
alias for PYTHON_INTERPRETER=
2019-05-15 13:34:07 +02:00

18 lines
380 B
Bash
Executable File

#!/bin/bash
echo "Freeze version of pip to ensure build reproductibility"
if [[ $1 == "system" ]]; then
op=""
else
op="--user "
fi
python3 -m pip install $op --upgrade \
'pip==19.1.1' \
'pipenv==2018.11.26' \
|| echo "you may need to sudo me !"
echo "Please ensure your local bin directory is in your path"
echo "Linux: export PATH=$HOME/.local/bin:$PATH"