[Pythonmac-SIG] Building Python with X11 Tkinter

C. E. Ball ceball at users.sf.net
Sat Dec 8 01:40:11 CET 2007


Hi,

On OS X, I'd like to be able to build my own copy of Python that uses
my own copy of Tkinter (built for X11). I've seen several posts to
this list where people mention building python this way (e.g. [1] and
[2] below), but I'm pretty unfamiliar with the concepts, so I wonder
if someone could give me some more help, or point me to a place where
there are some instructions?

I found the only way I could get Python to build using my own tcl and
tk was by renaming OS X's Tk and Tcl framework directories so that
they would not be found. Is there some alteration I can make to
python's setup.py instead?

I'd like to have Python use X11 rather than Aqua so that I can run
automated (buildbot) tests of an application (that is based on Python)
on a virtual (Xvfb) display.

Thanks very much,
Chris

[1] http://article.gmane.org/gmane.comp.python.apple/12394/
[2] http://article.gmane.org/gmane.comp.python.apple/12897/


More information about the Pythonmac-SIG mailing list