-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1697 from wiredfool/depends
Additional dependency scripts
- Loading branch information
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |