Re: [Pyobjc-dev] flattening of module/packaging structure
Brought to you by:
ronaldoussoren
From: Zachery B. <zb...@ur...> - 2003-08-22 11:20:02
|
On Friday, August 22, 2003, at 06:45 AM, Bob Ippolito wrote: > 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? It (bundlebuilder.py) looks unchanged, but I've been building the app through Project Builder, using one of the included PB Templates that Bill came up with. Zac |