Document environment variable method for pip, #720 [ci skip]

This commit is contained in:
wiredfool 2014-07-05 11:50:37 -07:00
parent 8e6ef35f78
commit d306d01c5e

View File

@ -79,15 +79,21 @@ Many of Pillow's features require external libraries:
* Pillow has been tested with openjpeg **2.0.0** and **2.1.0**. * Pillow has been tested with openjpeg **2.0.0** and **2.1.0**.
If the prerequisites are installed in the standard library locations for your Once you have installed the prerequisites,run::
machine (e.g. :file:`/usr` or :file:`/usr/local`), no additional configuration
should be required. If they are installed in a non-standard location, you may
need to configure setuptools to use those locations (i.e. by editing
:file:`setup.py` and/or :file:`setup.cfg`). Once you have installed the
prerequisites, run::
$ pip install Pillow $ pip install Pillow
If the prerequisites are installed in the standard library locations
for your machine (e.g. :file:`/usr` or :file:`/usr/local`), no
additional configuration should be required. If they are installed in
a non-standard location, you may need to configure setuptools to use
those locations by editing :file:`setup.py` or
:file:`setup.cfg`, or by adding environment variables on the command
line::
$ CFLAGS="-I/usr/pkg/include" pip install pillow
Linux installation Linux installation
------------------ ------------------