Re: [Pyobjc-dev] py2app --frameworks problem
Brought to you by:
ronaldoussoren
From: Neil Martinsen-B. <nbu...@un...> - 2005-06-21 18:31:24
|
On Tue, Jun 21, 2005 at 09:57:46AM -0400, Bob Ippolito wrote: > > On Jun 20, 2005, at 4:12 PM, Neil Martinsen-Burrell wrote: > > >I am having problems trying to include a separate framework using > >py2app. I am unable to load the bundle from within my app, and > >looking in site-packages.zip, the framework doesn't appear to have > >been included. The setup.py is below. The error > >message is: > > Frameworks certainly do not end up in site-packages.zip, they end up > in Contents/Frameworks Duly noted. I did not see it there and went looking for it elsewhere. > >$ dist/Ernie.app/Contents/MacOS/Ernie > >2005-06-20 16:09:00.516 Ernie[6671] Exception raised during posting of > >notification. Ignored. exception: exceptions.ImportError: Bundle > >could not be loaded > > > >Is there some more information that I need to be specifying? Thanks. > >Peace, > > Try using py2app from svn, I've fixed a regression in the frameworks > option since the release of 0.2. The svn version fixes the problem with including the framework in the application bundle. Is os.path.join(NSBundle.bundleForClass_(MyClass).bundlePath(),'Contents/Frameworks') the appropriate way to access the frameworks directory in the app bundle? Thanks. Peace, -Neil -- Neil Martinsen-Burrell nbu...@un... |