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:
parent
13c5d2e438
commit
e59be61e1f
3 changed files with 4 additions and 0 deletions
|
@ -101,6 +101,7 @@ test ! -e /etc/matrix-$app/dh.pem && \
|
||||||
# For any update do it in all files
|
# 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
|
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
|
pip install --upgrade pip
|
||||||
|
hash -d pip
|
||||||
pip install --upgrade virtualenv
|
pip install --upgrade virtualenv
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -61,6 +61,7 @@ ynh_restore
|
||||||
# For any update do it in all files
|
# 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
|
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
|
pip install --upgrade pip
|
||||||
|
hash -d pip
|
||||||
pip install --upgrade virtualenv
|
pip install --upgrade virtualenv
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -121,6 +121,7 @@ then
|
||||||
# For any update do it in all files
|
# 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
|
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
|
pip install --upgrade pip
|
||||||
|
hash -d pip
|
||||||
pip install --upgrade virtualenv
|
pip install --upgrade virtualenv
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -172,6 +173,7 @@ else
|
||||||
# We set all necessary environement variable to create a python virtualenvironnement.
|
# We set all necessary environement variable to create a python virtualenvironnement.
|
||||||
source $final_path/bin/activate
|
source $final_path/bin/activate
|
||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
|
hash -d pip
|
||||||
pip install --upgrade setuptools
|
pip install --upgrade setuptools
|
||||||
pip install --upgrade cffi ndg-httpsclient psycopg2 lxml
|
pip install --upgrade cffi ndg-httpsclient psycopg2 lxml
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue