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

Fredrik Lundh fredrik at pythonware.com
Thu Nov 26 17:50:25 CET 2009


Which versions of PIL and Ubuntu?  (I'm pretty sure I built this
successfully on 9.10.)

</F>

On Thu, Nov 26, 2009 at 3:57 PM, Michael P. Soulier
<msoulier at digitaltorque.ca> wrote:
> 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
>
> _______________________________________________
> Image-SIG maillist  -  Image-SIG at python.org
> http://mail.python.org/mailman/listinfo/image-sig
>
>


More information about the Image-SIG mailing list