On 2013-03-15 20:44:23 +0000, Felix Schwarz said:
Hey,
how can I specify the include dir for header files (jpeglib.h) for Pillow
without modifying the source?
I'm on OS X (Mountain Lion) and installed libjpeg using homebrew. There is a
'jpeglib.h' file in ~/homebrew/include but 'python setup.py build' still says
'no jpeg support'.
Any ideas/pointers?
You shouldn't have to. Could something else be wrong? I have the same
OS and Homebrew libs… and I get this:
--------------------------------------------------------------------
SETUP SUMMARY (Pillow 2.0.0 fork, originally based on PIL 1.1.7)
--------------------------------------------------------------------
version 2.0.0 (Pillow)
platform darwin 2.7.3 (default, Feb 11 2013, 07:30:37)
[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.24)]
--------------------------------------------------------------------
--- TKINTER support available
--- JPEG support available
--- ZLIB (PNG/ZIP) support available
--- TIFF G3/G4 (experimental) support available
--- FREETYPE2 support available
--- LITTLECMS support available
*** WEBP support not available
--------------------------------------------------------------------
To add a missing option, make sure you have the required
library, and set the corresponding ROOT variable in the
setup.py script.
To check the build, run the selftest.py script.
Alex
fs
_______________________________________________
Image-SIG maillist - Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig
--
Alex Clark · http://about.me/alex.clark
_______________________________________________
Image-SIG maillist - Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig