Pillow/depends/fedora_23.sh

18 lines
592 B
Bash
Raw Normal View History

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
# this is a workaround for
# "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
sudo dnf install libtiff-devel libjpeg-devel zlib-devel freetype-devel \
2016-01-04 18:42:03 +03:00
lcms2-devel libwebp-devel openjpeg2-devel tkinter python3-tkinter \
tcl-devel tk-devel