Modified install script to install PyOpenSSL for Ubuntu 14.04 for airtime-celery SSL fix

This commit is contained in:
Robb Ebright 2017-03-10 17:13:24 -05:00
parent e3785e25f9
commit 2ae2377ee2
2 changed files with 14 additions and 1 deletions

View File

@ -461,6 +461,14 @@ verbose "\n * Installing necessary python services..."
loudCmd "pip install setuptools --upgrade"
verbose "...Done"
if [[ `lsb_release -rs` == "14.04" ]] # Ubuntu trusty needs a workaround for python version SSL downloads
then
loudCmd "pip install pyOpenSSL cryptography idna certifi"
fi
verbose "\n * Creating /run/airtime..."
mkdir -p /run/airtime
chmod 755 /run/airtime

View File

@ -66,4 +66,9 @@ liquidsoap-plugin-vorbis
silan
libopus0
sysvinit-utils
sysvinit-utils
build-essential
libssl-dev
libffi-dev
python-dev