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

Alex Clark aclark at aclark.net
Sun Mar 17 13:08:40 CET 2013


On 2013-03-16 09:29:19 +0000, Felix Schwarz said:

> 
> as a follow-up I hacked together a quick patch so that setup.py checks also
> special environment variables.

What are "special environment variables"? Variables you defined, or are 
you setting already existing vars…

> 
> Do you think that functionality is interesting for pillow? If so I can submit
> a pull request.

Yes, please submit it for review. I'm not sure I fully understand the 
issue yet, so maybe that will help. IIRC, brew uses very common lib and 
header path dirs (e.g. /usr/local/lib, /usr/local/include) and Pillow's 
setup.py certainly already checks those paths. It's good that you were 
able to get it to work by passing in the path, but I'm not sure why you 
had to.


> fs
> 
> 
> _______________________________________________
> Image-SIG maillist  -  Image-SIG at python.org
> http://mail.python.org/mailman/listinfo/image-sig


-- 
Alex Clark · http://about.me/alex.clark




More information about the Image-SIG mailing list