From ff85f63c8b81b621fce8c3c4fd2a0be0508bc6da Mon Sep 17 00:00:00 2001 From: renfeipeng Date: Sat, 3 Feb 2018 11:26:49 +0800 Subject: [PATCH] Pillow v4.3 (#37) * Remove python-imaging, use pillow==4.3.0 * modified centos installer --- seafile-server-centos-7-amd64-http | 3 ++- seafile-server-ubuntu-16-04-amd64-http | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/seafile-server-centos-7-amd64-http b/seafile-server-centos-7-amd64-http index 6b04593..e3eb69a 100644 --- a/seafile-server-centos-7-amd64-http +++ b/seafile-server-centos-7-amd64-http @@ -160,11 +160,12 @@ firewall-cmd --reload # extra packages for enterprise linux yum install epel-release -y yum upgrade -y -yum install python-setuptools python-imaging MySQL-python memcached python-urllib3 \ +yum install python-setuptools MySQL-python memcached python-urllib3 \ pwgen curl openssl python-ldap java-1.7.0-openjdk poppler-utils libreoffice python-requests \ libreoffice-headless libreoffice-pyuno wqy-microhei-fonts wqy-zenhei-fonts wqy-unibit-fonts \ gcc libffi-devel python-devel openssl-devel libmemcached libmemcached-devel python2-pip -y pip install --upgrade pylibmc django-pylibmc +pip install pillow==4.3.0 # start memcached on system boot systemctl enable memcached diff --git a/seafile-server-ubuntu-16-04-amd64-http b/seafile-server-ubuntu-16-04-amd64-http index d62d17b..2982845 100644 --- a/seafile-server-ubuntu-16-04-amd64-http +++ b/seafile-server-ubuntu-16-04-amd64-http @@ -140,11 +140,12 @@ fi # Additional requirements # ------------------------------------------- apt-get update -apt-get install -y python2.7 sudo python-pip python-setuptools python-imaging python-mysqldb python-ldap python-urllib3 \ +apt-get install -y python2.7 sudo python-pip python-setuptools python-mysqldb python-ldap python-urllib3 \ openjdk-8-jre memcached libmemcached-dev zlib1g-dev pwgen curl openssl poppler-utils libpython2.7 libreoffice \ libreoffice-script-provider-python ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy nginx python-requests pip install --upgrade pylibmc django-pylibmc +pip install Pillow==4.3.0 rm /etc/nginx/sites-enabled/*