Update the pip inside the venv

This commit is contained in:
mathieui 2015-05-21 10:06:03 +02:00
parent c59ece0cbf
commit c00c3f8498
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -39,6 +39,8 @@ then
$POEZIO_VENV_COMMAND --upgrade "$POEZIO_VENV" $POEZIO_VENV_COMMAND --upgrade "$POEZIO_VENV"
. "$POEZIO_VENV/bin/activate" . "$POEZIO_VENV/bin/activate"
echo 'Updating the in-venv pip'
pip install --upgrade pip
python3 -c 'import sys;(print("Python 3.4 or newer is required") and exit(1)) if sys.version_info < (3, 4) else exit(0)' || exit 1 python3 -c 'import sys;(print("Python 3.4 or newer is required") and exit(1)) if sys.version_info < (3, 4) else exit(0)' || exit 1
echo 'Updating the poezio dependencies' echo 'Updating the poezio dependencies'
pip install -r requirements.txt --upgrade pip install -r requirements.txt --upgrade