diff options
author | mathieui <mathieui@mathieui.net> | 2015-09-05 01:46:25 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2015-09-05 01:46:25 +0200 |
commit | 788b0cc36bc2b7803c63b99c38251d01623130fb (patch) | |
tree | 6edfc2de4ead91182ff1213487e55ffb92789a5a /update.sh | |
parent | 1861174b1e9f3a53fac7ec5deda83b696f2c7b2a (diff) | |
download | poezio-788b0cc36bc2b7803c63b99c38251d01623130fb.tar.gz poezio-788b0cc36bc2b7803c63b99c38251d01623130fb.tar.bz2 poezio-788b0cc36bc2b7803c63b99c38251d01623130fb.tar.xz poezio-788b0cc36bc2b7803c63b99c38251d01623130fb.zip |
Make the venv use system resources as well
(workaround https://bugs.python.org/issue24875)
and fix aiodns since the interface will change due to the new pycares
version.
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -37,6 +37,7 @@ then # In case of a python version upgrade echo 'Trying to upgrade the virtualenv' $POEZIO_VENV_COMMAND --upgrade "$POEZIO_VENV" + $POEZIO_VENV_COMMAND --system-site-packages "$POEZIO_VENV" . "$POEZIO_VENV/bin/activate" echo 'Updating the in-venv pip' @@ -49,6 +50,7 @@ then else echo "Creating the $POEZIO_VENV virtualenv" $POEZIO_VENV_COMMAND "$POEZIO_VENV" + $POEZIO_VENV_COMMAND --system-site-packages "$POEZIO_VENV" . "$POEZIO_VENV/bin/activate" cd "$POEZIO_VENV" # needed to download slixmpp inside the venv |