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.
This commit is contained in:
mathieui 2015-09-05 01:46:25 +02:00
parent 1861174b1e
commit 788b0cc36b
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,5 @@
cython cython
-e git+git://git.louiz.org/slixmpp#egg=slixmpp -e git+git://git.louiz.org/slixmpp#egg=slixmpp
aiodns aiodns==0.3.2
pycares==0.7 pycares==0.7
pygments pygments

View file

@ -37,6 +37,7 @@ then
# In case of a python version upgrade # In case of a python version upgrade
echo 'Trying to upgrade the virtualenv' echo 'Trying to upgrade the virtualenv'
$POEZIO_VENV_COMMAND --upgrade "$POEZIO_VENV" $POEZIO_VENV_COMMAND --upgrade "$POEZIO_VENV"
$POEZIO_VENV_COMMAND --system-site-packages "$POEZIO_VENV"
. "$POEZIO_VENV/bin/activate" . "$POEZIO_VENV/bin/activate"
echo 'Updating the in-venv pip' echo 'Updating the in-venv pip'
@ -49,6 +50,7 @@ then
else else
echo "Creating the $POEZIO_VENV virtualenv" echo "Creating the $POEZIO_VENV virtualenv"
$POEZIO_VENV_COMMAND "$POEZIO_VENV" $POEZIO_VENV_COMMAND "$POEZIO_VENV"
$POEZIO_VENV_COMMAND --system-site-packages "$POEZIO_VENV"
. "$POEZIO_VENV/bin/activate" . "$POEZIO_VENV/bin/activate"
cd "$POEZIO_VENV" # needed to download slixmpp inside the venv cd "$POEZIO_VENV" # needed to download slixmpp inside the venv