Extra python packages

This commit is contained in:
Bob Mottram 2017-09-20 21:30:08 +01:00
parent ec755b08cc
commit 60f2ac5e2e
2 changed files with 3 additions and 0 deletions

View File

@ -299,6 +299,8 @@ function install_mediagoblin {
apt-get install -yq automake perl sqlite python-paste python-pastedeploy python-pastescript apt-get install -yq automake perl sqlite python-paste python-pastedeploy python-pastescript
apt-get install -yq python3 python3-dev libpython3-dev python3-lxml python3-pil apt-get install -yq python3 python3-dev libpython3-dev python3-lxml python3-pil
groupadd mediagoblin groupadd mediagoblin
apt-get install -yq python-service-identity python-ndg-httpsclient
useradd -c "GNU MediaGoblin system account" -d /var/lib/mediagoblin -m -r -g www-data mediagoblin useradd -c "GNU MediaGoblin system account" -d /var/lib/mediagoblin -m -r -g www-data mediagoblin
usermod --append -G mediagoblin mediagoblin usermod --append -G mediagoblin mediagoblin
mkdir -p /var/lib/mediagoblin mkdir -p /var/lib/mediagoblin

View File

@ -829,6 +829,7 @@ function install_searx {
apt-get -yq install python-pip libyaml-dev python-werkzeug python-babel python-lxml apt-get -yq install python-pip libyaml-dev python-werkzeug python-babel python-lxml
apt-get -yq install git build-essential libxslt-dev python-dev python-virtualenv zlib1g-dev uwsgi uwsgi-plugin-python imagemagick apt-get -yq install git build-essential libxslt-dev python-dev python-virtualenv zlib1g-dev uwsgi uwsgi-plugin-python imagemagick
apt-get -yq install apache2-utils python-setuptools apt-get -yq install apache2-utils python-setuptools
apt-get -yq install python-service-identity python-ndg-httpsclient
apt-get -yq remove --purge apache2-bin* apt-get -yq remove --purge apache2-bin*
if [ -d /etc/apache2 ]; then if [ -d /etc/apache2 ]; then