mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 00:46:16 +03:00
Document environment variable method for pip, #720 [ci skip]
This commit is contained in:
parent
8e6ef35f78
commit
d306d01c5e
|
@ -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**.
|
||||
|
||||
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 (i.e. by editing
|
||||
:file:`setup.py` and/or :file:`setup.cfg`). Once you have installed the
|
||||
prerequisites, run::
|
||||
Once you have installed the prerequisites,run::
|
||||
|
||||
$ 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
|
||||
------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user