Merge pull request #58 from Robbt/install-fix-python-ssl-workaround

Modified install script to install PyOpenSSL for Ubuntu 14.04 for air…
This commit is contained in:
Lucas Bickel 2017-03-12 12:05:42 +01:00 committed by GitHub
commit c8b4d40eb2
2 changed files with 14 additions and 1 deletions

View File

@ -491,6 +491,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 --upgrade"
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