Successfully Compiling 2.2.2 w/Tkinter under OS X

Tim Jones tjones at tolisgroup.com
Mon Nov 4 12:28:13 EST 2002


Brian Lenihan wrote:
> Tim Jones <tjones at tolisgroup.com> wrote in message news:<mailman.1036097407.20112.python-list at python.org>...
> 
>>Actually, it's AquaTK with tcl/tk 8.4.1 in Aqua mode (tcl/tk apps from 
>>my Solaris and Linux systems work okay with the built version). 
>>macpython-sig answers were to use macpython.  Unfortunately, this only 
>>provide Tkinter support under Classic, not OS X.
>>
>>Queries to other Mac and OS X oriented lists have resulted in silence. 
>>I'm sure that someone has gotten Python and Tkinter working under Aqua 
>>on OS X.
> 
> 
> You have a couple choices:
> 
> 1) Use 2.3a0 from CVS.  It works with AquaTk as-is.
> 2) Cut and paste the relevant portion of setup.py from 2.3.a0 into
> the setup.py of 2.2.2.  The part you need is in detect_tkinter_darwin()
> 
> 8.4.1 seems to have fixed most of the obvious OS X problems.

Thanks for this.  I had just begun digging around in the setup.py script 
to get the libs path configured, but the 2.3 changes saved me from a 
gigantic headache.

---------
Tim Jones                   tjones at tolisgroup.com





More information about the Python-list mailing list