Changes between Version 12 and Version 13 of InfraStructure


Ignore:
Timestamp:
11/29/05 20:38:56 (14 years ago)
Author:
hans
Comment:

guidelines for installing PIL

Legend:

Unmodified
Added
Removed
Modified
  • InfraStructure

    v12 v13  
    3737./configure 
    3838sudo make install 
     39}}} 
     40 
     41Download and extract Python Imaging Library (PIL) with JPEG and PNG support: 
     42 
     43{{{ 
     44cd .. 
     45curl -O http://effbot.org/downloads/Imaging-1.1.5.tar.gz 
     46tar -xvzf Imaging-1.1.5.tar.gz 
     47curl -O http://www.ijg.org/files/jpegsrc.v6b.tar.gz 
     48tar -xvzf jpegsrc.v6b.tar.gz 
     49curl -O http://www.zlib.net/zlib-1.2.3.tar.gz 
     50}}} 
     51 
     52Open PIL setup file (Imaging-1.1.5/setup.py) in text editor. Specify the location of JPEG and PNG libraries (lines 32 and 34). Replace ''username'' with your username: 
     53 
     54{{{ 
     55FREETYPE_ROOT = None 
     56JPEG_ROOT = "/Users/username/Build/jpeg-6b" 
     57TIFF_ROOT = None 
     58ZLIB_ROOT = "/Users/username/Build/zlib-1.2.3" 
     59TCL_ROOT = None 
     60}}} 
     61 
     62Run setup.py: 
     63 
     64{{{ 
     65cd Imaging-1.1.5 
     66sudo /usr/local/bin/python setup.py install 
    3967}}} 
    4068