In article <4a1c69d9.3070...@codebykevin.com>,
 Kevin Walzer <k...@codebykevin.com> wrote:
> Ronald Oussoren wrote:
> > Which brings the question: is there anyone on the list that would like 
> > to look into providing two copies of Tkinter in the binary installers on 
> > OSX? This would preferably install both copies of the tkinter extension 
> > and magicly select the right copy to use at runtime. That way Tkinter, 
> > and more importantly IDLE, would work out of the box and anyone that 
> > would need a better version of Tk can use that by installing Tk themself.
> > 
> What do you mean here, versions that link to 8.5 and 8.4? Is this feasible?
> 
> Perhaps this should be directed to Benjamin Peterson, who builds the OS 
> X installers.

Actually, Ronald does - usually - and is the core developer for the OS X 
port.

It seems feasible, though probably a bit tricky, to produce a build 
process that would have the equivalent of two _tkinter.so's, one each 
linked with 8.4 and 8.5.  In the worst case, one would have to do two 
loads, tweaking the /Library/Frameworks/{Tck/Tk} frameworks before each. 
The more interesting part would be initialization glue code at run time 
that looks at the run environment to see which Tk is installed and then 
loads and sets up all calls to the appropriate _tkinter.so.

-- 
 Ned Deily,
 n...@acm.org

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to