From 6191ddeeda165acc9681dd584a7b000c8aa15142 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 18 Jun 2016 13:02:50 +0100 Subject: [PATCH] Versioned python packages --- src/freedombone | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/src/freedombone b/src/freedombone index 3109fa01..94de5385 100755 --- a/src/freedombone +++ b/src/freedombone @@ -9912,11 +9912,35 @@ function install_media_server { echo $'Installing media server' apt-get -y install git-core python python-dev python-lxml python-pil - apt-get -y install python-virtualenv automake + apt-get -y install python-virtualenv automake python-pip apt-get -y install fcgiwrap libmysqlclient-dev apt-get -y install libjpeg-dev zlib1g-dev libfreetype6-dev apt-get -y install python-setuptools python-virtualenv apt-get -y install uwsgi uwsgi-plugin-python + pip install --upgrade pip + pip install paster==0.8 + pip install bleach==1.4.3 + pip install aniso8601==1.0.0 + pip install decorator==3.3.2 + pip install unidecode==0.4.19 + pip install google-api-python-client==1.5.1 + pip install akismet==0.2.0 + pip install MySQL-python==1.2.5 + pip install tw.forms==0.9.9 + pip install repoze.who.plugins.sa==2.3 + pip install repoze.who-friendlyform==1.0.8 + pip install repoze.who==1.0.18 + pip install Routes==1.12.3 + pip install Genshi==0.7 + pip install alembic==0.8.6 + pip install SQLAlchemy==0.7.6 + pip install WebHelpers==1.0 + pip install Pylons==-1.0.2 + pip install ddt==1.1.0 + pip install iso8601==0.1.11 + pip install httplib2==0.9.1 + pip install pyasn1==0.1.8 + pip install uwsgi --upgrade if [ -d $MEDIA_SERVER_BASE_DIRECTORY ]; then rm -rf $MEDIA_SERVER_BASE_DIRECTORY @@ -9993,6 +10017,7 @@ function install_media_server { echo "cd ${MEDIA_SERVER_WORKING_DIRECTORY}" >> /usr/bin/start-mediadrop echo "uwsgi --ini-paste deployment.ini &" >> /usr/bin/start-mediadrop echo "paster serve --reload deployment.ini" >> /usr/bin/start-mediadrop + chmod +x /usr/bin/start-mediadrop # create daemon echo '[Unit]' > /etc/systemd/system/mediadrop.service