cd ${base_dir}
base_dir=$( readlink -f . )
+if type -t virtualenv >/dev/null ; then
+ :
+else
+ echo "Command 'virtualenv' not found, please install package 'python-virtualenv' or appropriate." >&2
+ exit 6
+fi
+
+if type -t msgfmt >/dev/null ; then
+ :
+else
+ echo "Command 'msgfmt' not found, please install package 'gettext' or appropriate." >&2
+ exit 6
+fi
+
declare -a VALID_PY_VERSIONS=("3.8" "3.7" "3.6" "3.5")
echo "Preparing virtual environment …"
. venv/bin/activate || exit 5
+echo "---------------------------------------------------"
+echo "Upgrading PIP ..."
+echo
+pip install --upgrade --upgrade-strategy eager pip
+echo
+
echo "---------------------------------------------------"
echo "Installing and/or upgrading necessary modules ..."
echo