Re: [Pythonmac-SIG] py2app and nested packages

2012-04-24 Thread Chris Barker
On Tue, Apr 24, 2012 at 4:29 AM, Ronald Oussoren >> example: the "pubsub" package is delivered with wxPython, so it is >> commonly imported thusly: >> >> from wx.lib.pubsub import Publisher > > wx.lib.pubsub is a bad example, it manipulates __path__ which causes problems > with py2app because it

Re: [Pythonmac-SIG] py2app and nested packages

2012-04-24 Thread Ronald Oussoren
On 23 Apr, 2012, at 23:13, Chris Barker wrote: > Another couple py2app questions: > > I"ve discovered that my app is HUGE! -- I already expected that, but > this is a bit out of bounds. The reason: > > The scipy and matplotlib packages bring in all of scipy, numpy, and > matplotlib uncompressed

Re: [Pythonmac-SIG] py2app and nested packages

2012-04-24 Thread Ronald Oussoren
On 23 Apr, 2012, at 20:42, Chris Barker wrote: > Folks, > > py2app doesn't seem to do "the right thing" with nested packages. > However, it's not entirely clear what it should do... > > example: the "pubsub" package is delivered with wxPython, so it is > commonly imported thusly: > > from wx.l