Re: [Pyobjc-dev] Re: [Pyobjc-checkins] CVS: pyobjc/Examples/Twisted/PackMan newpimp.py,NONE,1.1 Pack
Brought to you by:
ronaldoussoren
From: Bob I. <bo...@re...> - 2003-11-12 14:55:32
|
On Nov 12, 2003, at 2:31 AM, Ronald Oussoren wrote: > On 11 nov 2003, at 23:59, Bob Ippolito wrote: > >> When it works, we can distribute a --semi-standalone version w/ >> Twisted, [...] > > BTW. a --semi-standalone version of any GUI for PackMan introduces > interesting problems, because some of the packages it uses will be > included in the .app bundle, but not in the system. We currently check > if a package is installed by trying to import it, this will give some > false positives (e.g. Twisted and PyObjC for your version and wxPython > for Kevin's version). The solution to this problem is to spawn a plain interpreter and get it to execute this code, and that's what I intend to implement. This also prevents the "if a module crashes on import I can't use PackageManager anymore" problem, and the "oh, so I have to restart PackageManager to see if my package upgrade worked?" problem. -bob |