mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-28 02:04:36 +03:00
Merge pull request #1697 from wiredfool/depends
Additional dependency scripts
This commit is contained in:
commit
976e731aa0
18
depends/fedora_23.sh
Executable file
18
depends/fedora_23.sh
Executable file
|
@ -0,0 +1,18 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
#
|
||||||
|
# Installs all of the dependencies for Pillow for Fedora 23
|
||||||
|
# for both system Pythons 2.7 and 3.4
|
||||||
|
#
|
||||||
|
# note that Fedora does ship packages for Pillow as python-pillow
|
||||||
|
|
||||||
|
# this is a workaround for
|
||||||
|
# "gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory"
|
||||||
|
# errors when compiling.
|
||||||
|
sudo dnf install redhat-rpm-config
|
||||||
|
|
||||||
|
sudo dnf install python-devel python3-devel python-virtualenv make gcc
|
||||||
|
|
||||||
|
sudo dnf install libtiff-devel libjpeg-devel libzip-devel freetype-devel \
|
||||||
|
lcms2-devel libwebp-devel openjpeg2-devel tkinter python3-tkinter \
|
||||||
|
tcl-devel tk-devel
|
11
depends/freebsd_10.sh
Executable file
11
depends/freebsd_10.sh
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
#
|
||||||
|
# Installs all of the dependencies for Pillow for Freebsd 10.x
|
||||||
|
# for both system Pythons 2.7 and 3.4
|
||||||
|
#
|
||||||
|
sudo pkg install python2 python3 py27-pip py27-virtualenv py27-setuptools27
|
||||||
|
|
||||||
|
# Openjpeg fails badly using the openjpeg package.
|
||||||
|
# I can't find a python3.4 version of tkinter
|
||||||
|
sudo pkg install jpeg-turbo tiff webp lcms2 freetype2 py27-tkinter
|
16
depends/ubuntu_12.04.sh
Executable file
16
depends/ubuntu_12.04.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user