[Image-SIG] How to tell Pillow where to look for header files (on OS X)?

Mark Sienkiewicz sienkiew at stsci.edu
Mon Mar 18 15:28:10 CET 2013


On 03/16/13 05:10, Felix Schwarz wrote:
> Hi Mark,
>
> Am 15.03.2013 22:24, schrieb Mark Sienkiewicz:
>> build_ext means to build the C extensions; this command recognizes -I for
>> another directory of include files and -L for another directory of library files
>>
>>      python setup.py build_ext -I ~/homebrew/include -L ~/homebrew/lib
> That worked for me. Thanks a lot.
>
> Is there any way to set these parameters using environment variables? Pillow
> is being installed as a dependency for my library so it would be easier if
> users could set up something beforehand...

Not environment variable,s but there is a config file for that.  There is some minimal documentation at:

http://docs.python.org/2/install/index.html#distutils-configuration-files

Mark S.



More information about the Image-SIG mailing list