[Pythonmac-SIG] Building Python with X11 Tkinter

C. E. Ball ceball at users.sf.net
Tue Dec 11 05:07:06 CET 2007


> > That is, replace "        if (platform == 'darwin' and" by "        if
> > 0 and (platform == 'darwin' and".
>
> Actually, I tried that early on (I commented out that 'if' statement),
> but Python still seemed to end up using the framework Tk. The output
[...]
> (1) How sure are you that making the change above to setup.py is
> enough? If you're fairly sure it should be enough, I'll check again
> with Python 2.5 from the beginning (I was using Python 2.4).

I apologize: what you suggested does work, in combination with passing
LDFLAGS as I described earlier.


> (2) How can I tell for certain which Tkinter is actually being used by
> Python? I feel a bit stupid, but I can't figure out how to get a
> definitive path to indicate the location! All I can do is see the
> difference between X11 Tkinter and the normal Aqua one.

I don't need an answer to this question now.


> > BTW. Could you please file a bug report for this at bugs.python.org?
>
>
> Yes, I'm happy to do that; such an argument would definitely be useful to me.

I've done it: issue 1584 at bugs.python.org.


Thanks for your help


More information about the Pythonmac-SIG mailing list