Linux HOWTOs

About | Home | Search


HOWTO: pil
Description: Image processing library for Python
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything


# Python Imaging Library 1.1.5
# ============================
# Prerequisites:
# python
# libjpeg 6a or 6b
# libpng
# zlib >= 1.1.4
# freetype >= 2.1.3

cd
test -f installed/Imaging-1.1.5.tar.gz &&
 mv installed/Imaging-1.1.5.tar.gz .
test ! -f Imaging-1.1.5.tar.gz &&
 wget http://effbot.org/downloads/Imaging-1.1.5.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "Imaging-*" -exec rm -r {} \;
tar xzvf ~/Imaging-1.1.5.tar.gz
cd Imaging-1.1.5
test $UID = 0 && chown -R root:root .
python setup.py build_ext -i
python selftest.py
su -c "python setup.py install"
cd
mkdir -p -m 0700 installed
rm -f installed/Imaging-*.tar.*
mv Imaging-1.1.5.tar.gz installed/

Back to the list


Last updated: Tue, 07 Aug 2018 12:06:17 -0400
Jason Englander <jason at englanders dot us>