[wxPython-users] wxpython application vista

Christopher Barker Chris.Barker at noaa.gov
Thu May 31 11:38:33 PDT 2007


Eric Ongerth wrote:
>     Is it as easy as changing my import conventions from "import wx" to
>     "from
>     wx import TextCtrl", or is it much more complicated than that?
> 
> It's got to be that easy!  If it isn't, then that would be a very much 
> needed change.  That sounds like essential Python behavior.

It's much more complicated than that. wxPython relies on the bindings, 
which depend on the dlls. Even with a non-monolithic build, there are a 
lot of cross-dependencies.

It SHOULD be possible to at least remove some of the "big things" like 
aui, xrc, grid, etc, but that's not trivial either. Also, almost 
everything relies on wxCore, which has lots of basic building blocks 
like wxString, etc. Last I looked, the "extra" stuff was kind of small 
compared to the core stuff anyway.

This has come up a lot, and no ones done it yet. I think that's because 
in truth, it's really just disk space and network bandwidth, which 
really are cheap compared to the work required to change the way it now.

For things like wxStandardPaths, maybe there should just be a pure 
python implementation -- ideally in the standard lib.

-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the wxpython-users mailing list