scripts for ubuntu 12.04 and fedora 23

This commit is contained in:
wiredfool 2016-01-04 07:31:08 -08:00
parent 8d518a3f4d
commit ef58462e56
2 changed files with 33 additions and 0 deletions

17
depends/fedora_23.sh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/sh
#
# Installs all of the dependencies for Pillow for Fedora 23
# for both system Pythons 2.7 and 3.4
#
# this is a workaround for
# "gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory"
# errors when compiling.
sudo yum install redhat-rpm-config
sudo yum install python-devel python3-devel python-virtualenv make gcc
# Note, I can't find a python2-tkinter package
sudo yum install libtiff-devel libjpeg-devel libzip-devel freetype-devel \
lcms2-devel libwebp-devel openjpeg2-devel python3-tkinter tcl-devel tk-devel

16
depends/ubuntu_12.04.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/sh
#
# Installs all of the dependencies for Pillow for Ubuntu 12.04
# for both system Pythons 2.7 and 3.2
#
sudo apt-get -y install python-dev python-setuptools \
python3-dev python-virtualenv cmake
sudo apt-get install libtiff4-dev libjpeg8-dev zlib1g-dev \
libfreetype6-dev liblcms2-dev tcl8.5-dev \
tk8.5-dev python-tk python3-tk
./install_openjpeg.sh
./install_webp.sh