[Image-SIG] had to hack setup.py to find tk.h

Michael P. Soulier msoulier at digitaltorque.ca
Thu Nov 26 15:57:35 CET 2009


Hi,

I'm on an Ubuntu system and I had to add this to setup.py to get PIL to
build with the Tk extension.

 add_directory(include_dirs, "/usr/include/tk")

as tk.h is not in /usr/include

Cheers,
Mike
-- 
Michael P. Soulier <msoulier at digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/image-sig/attachments/20091126/2c2c5e5f/attachment.pgp>


More information about the Image-SIG mailing list