1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

Fix pip import

This commit is contained in:
Josué Tille 2018-05-01 22:27:41 +02:00
parent 13c5d2e438
commit e59be61e1f
3 changed files with 4 additions and 0 deletions

View file

@ -101,6 +101,7 @@ test ! -e /etc/matrix-$app/dh.pem && \
# For any update do it in all files
ynh_install_app_dependencies coturn build-essential python2.7-dev libffi-dev python-pip python-setuptools sqlite3 libssl-dev python-virtualenv libxml2-dev libxslt1-dev python-lxml libjpeg-dev libpq-dev postgresql acl
pip install --upgrade pip
hash -d pip
pip install --upgrade virtualenv
#=================================================

View file

@ -61,6 +61,7 @@ ynh_restore
# For any update do it in all files
ynh_install_app_dependencies coturn build-essential python2.7-dev libffi-dev python-pip python-setuptools sqlite3 libssl-dev python-virtualenv libxml2-dev libxslt1-dev python-lxml libjpeg-dev libpq-dev postgresql acl
pip install --upgrade pip
hash -d pip
pip install --upgrade virtualenv
#=================================================

View file

@ -121,6 +121,7 @@ then
# For any update do it in all files
ynh_install_app_dependencies coturn build-essential python2.7-dev libffi-dev python-pip python-setuptools sqlite3 libssl-dev python-virtualenv libxml2-dev libxslt1-dev python-lxml libjpeg-dev libpq-dev postgresql acl
pip install --upgrade pip
hash -d pip
pip install --upgrade virtualenv
#=================================================
@ -172,6 +173,7 @@ else
# We set all necessary environement variable to create a python virtualenvironnement.
source $final_path/bin/activate
pip install --upgrade pip
hash -d pip
pip install --upgrade setuptools
pip install --upgrade cffi ndg-httpsclient psycopg2 lxml