From: Andrew S. <str...@as...> - 2004-05-26 17:17:11
|
Matt Newville wrote: >Perry Greenfield wrote: > > > >>We are trying to have setup.py handle X11-based Tkinter on Mac OS X >>(to date that is the only Tkinter we use). Does anyone out there >>use Tkagg with the Aqua-based Tkinter on Mac OS X? We are unclear >>as to whether the Aqua version is really useful yet. >> >> It's been a little while since I've gotten down-and-dirty on OS X, but as of a year or so ago, I was continually frustrated with Tkinter on OS X because of apparent weird little bugs, but I never felt sufficiently on top of Tkinter to really believe they were bugs with Tkinter or with me. Anyhow, I switched to wx, and have never been happier. It looks great on Aqua, is totally cross-platform, and XRCed rocks! >TkAgg with Aqua-based Tkinter works for me on Mac OS X. (That's >with matplotlib 0.54 -- I haven't tried the latest CVS with fixes >for dynamic updates, but am happy to hear it will be faster!). > >The Aqua-based Tkinter is not great, and I would be perfectly happy >using X11-based Tkinter. I simply installed the Tkinter with the >MacPython and its PackageManager. Is X11-based Tkinter available in >such a package, or does it require a source build?? A source build >would be OK with me, but might make it difficult to distribute apps. > > Fink sticks to the X environment, so I'm 99% sure that if you install their Tkinter it'll run on X11. I think this probably means installing Python from fink, too. So you'd have 2 Pythons: Apple's and fink's (in /sw/bin/python, I guess). If you want to distribute apps as a packaged .dmg that someone can just download and run on an OS X system, the fink route seems a little, uh, challenging. Good luck! Andrew |