- pip install --upgrade pip
- >
if [[ -n "${UPDATE_ALL_PIP_MODULES}" && "${UPDATE_ALL_PIP_MODULES}" == "y" ]] ; then
- echo
+ echo ' '
echo "Updating all outdated PIP modules."
for module in $( pip list --outdated | awk '{if(NR>=3) print $1}' ); do
- echo
+ echo ' '
echo "Updating module '${module}' ..."
pip install --upgrade "${module}"
done
- echo
+ echo ' '
fi
- >
if [[ -r requirements.txt ]] ; then
+ echo ' '
+ echo "Installing all required PIP modules."
pip install -r requirements.txt --upgrade --upgrade-strategy eager
fi