summaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2015-05-21 10:06:03 +0200
committermathieui <mathieui@mathieui.net>2015-05-21 10:06:03 +0200
commitc00c3f849896af353da4a048f195907b3b153fd7 (patch)
tree78630a9b41df434ac25119d283fad4277ae2ecf2 /update.sh
parentc59ece0cbffe31a40354fe81f5426bda9c906375 (diff)
downloadpoezio-c00c3f849896af353da4a048f195907b3b153fd7.tar.gz
poezio-c00c3f849896af353da4a048f195907b3b153fd7.tar.bz2
poezio-c00c3f849896af353da4a048f195907b3b153fd7.tar.xz
poezio-c00c3f849896af353da4a048f195907b3b153fd7.zip
Update the pip inside the venv
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/update.sh b/update.sh
index bacd502d..af969e39 100755
--- a/update.sh
+++ b/update.sh
@@ -39,6 +39,8 @@ then
$POEZIO_VENV_COMMAND --upgrade "$POEZIO_VENV"
. "$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
echo 'Updating the poezio dependencies'
pip install -r requirements.txt --upgrade