-
-
Save laychopy/4638980 to your computer and use it in GitHub Desktop.
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
# Download | |
wget http://effbot.org/media/downloads/PIL-1.1.7.tar.gz | |
tar zxf PIL-1.1.7.tar.gz | |
cd PIL-1.1.7 | |
# Edit setup file | |
vim setup.py | |
# Set the following variables | |
JPEG_ROOT = '/usr/lib64','/usr/include' | |
ZLIB_ROOT = '/lib64','/usr/include' | |
# build PIL | |
python2.7 setup.py build_ext -i | |
# Tah-dah | |
# --- PIL CORE support ok | |
# --- TKINTER support ok | |
# --- JPEG support ok | |
# --- ZLIB (PNG/ZIP) support ok | |
# --- FREETYPE2 support ok | |
# --- LITTLECMS support ok | |
# If you want to be sure, just run the tests | |
python2.7 selftest.py | |
# Install | |
python2.7 setup.py install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment