Stephane Jolicoeur wrote:
1) Can I distribute a wxPython app to any other mac user or lunix or windows
(or etc...) using the freeze utility wit python?
I haven't seen anyone use freeze for a long time. On Windows, people use
Py2exe or McMillian's installer. On *nix, you can use Installer, or just
a tarball, *nix people are generally more open to more complex installs.
On OS-X, you are stuck with distributing Python, wxPython and your app
in one or more installers. However, it is likely that something like the
old MacPython BuildApplication applet will be made for OS-X. There are a
few technical difficulties that have yet to be worked out. Check out the
MacPython mailing list for more info.
(Pythonmac-SIG Info Page)
2) how do I get/install wxPython for me on MacOS X
Your best bet is the wxpython sourceforge page. Robin has built
installers for wxMacPython and the version of Mach-O python that is
being used for development.
(wxPython - Browse Files at SourceForge.net)
3) is wxPython going to be fully aquified ( i.e.: I get to load stuff in the
menu that appears with a right click, spawn back the window if the user
closes it etc... ) while keeping the same code for windows or linux?
hmm. I'm a little unclear on those details, but I'm going to guess
probably not. As a rule, wxPython supports all the features that
wxWindows supports, and those features tend to be the least common
denominator ones, plus some nice high level widgets, and some widgets
inspired by ones found in Win32 or GTK. For a nifty OS-X only feature to
be implemented, it would have to be emulated on the other platforms,
which is a fair bit of work. OS-X is pretty new, so it has yet to
influence wxWindows much. Also, wxMac is Carbon based, and it certainly
won't support any features that Carbon does not.
4) is there any memmory overhead?
With modern memory prices, and OS-X's smart memory management (finally!)
memory for wxPython is not really an issue.
speed? (jython takes quite a while to load
a frame)
wxPython tends to a while to start up at the beginning, because it is
loading a BIG library. After that, it's pretty darn snappy.
well that's it for now
Another issue you should be aware of is that wxMacPython is still under
development, and still as some bugs. Some of those are bugs in C++ wxMac
as well. IF you expect to use it for production code, be prepared to
wait for fixes, or to contribute those fixes yourself. It definitely is
not as ready for use as on Win32 or *nix/GTK.
-Chris
···
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov