[Pyobjc-dev] Re: py2app and --no-strip
Brought to you by:
ronaldoussoren
From: <yt...@em...> - 2005-05-15 13:38:55
|
On Sun, 15 May 2005 00:40:28 -0400, "Bob Ippolito" <bo...@re...> said: > On May 15, 2005, at 12:24 AM, yt...@em... wrote: > > > I noticed that in: > > > > py2app/bundletemplate/setup.py > > > > there is: > > > > os.system('strip -Sx "%(dest)s"' % locals()) > > > > Is it true that this is not currently affected by > > --no-strip? > > Correct, the outer template is always precompiled > and stripped. This happens when I build py2app, not > when you use it :) Aha. So if I don't have --no-strip, the copy of the compiled main.m is stripped a second time, right? I guess that makes prety much no difference. BTW, after trying to understand how a py2app-built plug-in is loaded, it occurred to me that it may not be necessary to specify a NSPrincipalClass in Info.plist -- I don't think my plug-in defines such a class and it didn't look to me like main.m arranges for one either. So I tried removing it for one of my plug-ins and that didn't seem to have any ill effects. Is it safe to leave NSPrincipalClass out of Info.plist in general or could it depend on the behavior of the host application? -- yt...@em... |