diff --git a/scripts/_common.sh b/scripts/_common.sh index 86183a1..47562a9 100755 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -10,8 +10,6 @@ synapse_version="0.22.0" install_dependances() { ynh_install_app_dependencies coturn build-essential python2.7-dev libffi-dev python-pip python-setuptools sqlite3 libssl-dev python-virtualenv libjpeg-dev libpq-dev postgresql pip install --upgrade pip - pip install --upgrade cffi - pip install --upgrade ndg-httpsclient pip install --upgrade virtualenv } @@ -28,6 +26,8 @@ install_from_source() { cp ../conf/virtualenv_activate $final_path/bin/activate source $final_path/bin/activate pip install --upgrade pip + pip install --upgrade cffi + pip install --upgrade ndg-httpsclient pip install --upgrade setuptools pip install https://github.com/matrix-org/synapse/tarball/master pip install psycopg2