Back in December I wrote to the list [1] asking for help getting JPEG support to work with PIL on my Mac.
Well I finally got it working and thought I would share my solution with the list for posterity's sake. Essentially because I'd installed libjpeg using fink it wasn't in any of the 'usual' library locations that PIL's setup.py was expecting. So after unpacking the PIL source distribution I edited the setup.py file, changing line 32 from; JPEG_ROOT = None to; JPEG_ROOT = "/sw/lib" And the usual python setup.py install worked like a dream. [1] http://mail.python.org/pipermail/image-sig/2005-December/003710.html Regards, Andy -- -------------------------------------------------------------------------------- From the desk of Andrew J Todd esq - http://www.halfcooked.com/ _______________________________________________ Image-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/image-sig
