2016-01-04 18:31:08 +03:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
#
|
|
|
|
# Installs all of the dependencies for Pillow for Fedora 23
|
|
|
|
# for both system Pythons 2.7 and 3.4
|
|
|
|
#
|
2016-01-04 18:42:03 +03:00
|
|
|
# note that Fedora does ship packages for Pillow as python-pillow
|
2016-01-04 18:31:08 +03:00
|
|
|
|
2016-06-17 13:03:21 +03:00
|
|
|
# this is a workaround for
|
2016-01-04 18:31:08 +03:00
|
|
|
# "gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory"
|
|
|
|
# errors when compiling.
|
2016-01-04 18:33:46 +03:00
|
|
|
sudo dnf install redhat-rpm-config
|
2016-01-04 18:31:08 +03:00
|
|
|
|
2016-01-04 18:33:46 +03:00
|
|
|
sudo dnf install python-devel python3-devel python-virtualenv make gcc
|
2016-01-04 18:31:08 +03:00
|
|
|
|
2016-04-19 17:56:23 +03:00
|
|
|
sudo dnf install libtiff-devel libjpeg-devel zlib-devel freetype-devel \
|
2016-06-17 13:03:21 +03:00
|
|
|
lcms2-devel libwebp-devel openjpeg2-devel tkinter python3-tkinter \
|
2016-12-19 07:40:03 +03:00
|
|
|
tcl-devel tk-devel harfbuzz-devel fribidi-devel libraqm-devel
|