Pillow v4.3 (#37)

* Remove python-imaging, use pillow==4.3.0

* modified centos installer
This commit is contained in:
renfeipeng 2018-02-03 11:26:49 +08:00 committed by xiez
parent 2a594e5781
commit ff85f63c8b
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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/*