the >'s in pip install package names might be interpreted as shell redirects and was creating files name '=1.0.0' '=2.0.0' and '=1.0.2' (I'm not sure how this was ever working)

This commit is contained in:
Joshua Tauberer 2015-11-18 09:43:08 -05:00
parent 59e9952a61
commit 05e128cafb
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ echo "Installing Mail-in-a-Box system management daemon..."
# build-essential libssl-dev libffi-dev python3-dev: Required to pip install cryptography.
apt_install python3-flask links duplicity libyaml-dev python3-dnspython python3-dateutil \
build-essential libssl-dev libffi-dev python3-dev python-pip
hide_output pip3 install --upgrade rtyaml email_validator>=1.0.0 idna>=2.0.0 cryptography>=1.0.2 boto
hide_output pip3 install --upgrade rtyaml "email_validator>=1.0.0" "idna>=2.0.0" "cryptography>=1.0.2" boto
# duplicity uses python 2 so we need to use the python 2 package of boto
hide_output pip install --upgrade boto

View File

@ -13,7 +13,7 @@ if [ -z "$NONINTERACTIVE" ]; then
fi
# email_validator is repeated in setup/management.sh
hide_output pip3 install email_validator==1.0.0 || exit 1
hide_output pip3 install "email_validator>=1.0.0" || exit 1
message_box "Mail-in-a-Box Installation" \
"Hello and thanks for deploying a Mail-in-a-Box!