[Pythonmac-SIG] I have X, Tk8.3.3 on OS X - how do I get _tkinter working?

Jack Jansen jack@oratrix.nl
Tue, 22 May 2001 22:08:02 +0200


Recently, "David Pennell" <dpennell@guardnet.com> said:
> Hi:
> 
> I noted the instructions for static compile of Python 2.0 and 2.1 on OS 
> X. I have the packaged 2.0 installed and have built the 2.1. I also have 
> XFree86 working with either a demo of XTools (Aqua X) or with the free 
> XDarwin (Motif X grabbing the window manager from Aqua). 
> 
> I can run all the widget, rolodex, etc. demos using wish8.3.3 and 
> tclsh8.3.3 just fine with XFree86. 
> 
> My question is, how do I get a _tkinter module into all this for 
> Tkinter.py to load?

Look at setup.py, especially the detect_tkinter() method. Probably
adding the right include/lib directories to lib_dirs and inc_dirs in
the detect_modules() method is good enough.

(This is setup.py in the main Python directory).
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm