Re: [Pyobjc-dev] flattening of module/packaging structure
Brought to you by:
ronaldoussoren
From: Bob I. <bo...@re...> - 2003-08-22 22:06:20
|
On Thursday, Aug 21, 2003, at 15:41 America/New_York, Zachery Bir wrote: > I think the problem with my app distribution is that when it is built > out, __main__.py has this: > > from PyObjCTools import AppHelper > > but on the Filesystem, this is what gets built: > > ~/Desktop/ZopeEditManager v0.5/ZopeEditManager.app/Contents/Resources > zbir@gorilla $ ls > AppHelper.py test_nsarray.py > AppHelper.pyc test_nsarray.pyc > . > . > . > __main__.py test_nsobject.pyc > > So, the package hierarchy is lost, and the app can no longer import > "AppHelper" from "PyObjCTools". > > Is this a bug? Or am I just at a running stumble? :) That's kind of.. odd. It should still work if PyObjC is installed correctly (i.e. in site-packages). What does your bundlebuilder script look like? -bob |