Don't use --quiet on pip install

this hides errors from users and complicates debugging in case of
problmes
This commit is contained in:
Matthias 2019-01-05 20:06:15 +01:00
parent f088f43b40
commit 506237e3b4

View File

@ -31,14 +31,13 @@ function updateenv() {
source .env/bin/activate
echo "pip3 install in-progress. Please wait..."
# Install numpy first to have py_find_1st install clean
pip3 install --quiet --upgrade pip numpy
pip3 install --quiet --upgrade -r requirements.txt
pip3 install --upgrade pip numpy
pip3 install --upgrade -r requirements.txt
read -p "Do you want to install dependencies for dev [Y/N]? "
if [[ $REPLY =~ ^[Yy]$ ]]
then
pip3 install --quiet -r requirements-dev.txt --upgrade
pip3 install --quiet -r requirements-dev.txt
pip3 install --upgrade -r requirements-dev.txt
else
echo "Dev dependencies ignored."
fi