[Pythonmac-SIG] Minimal Install Results
Ronald Oussoren
ronaldoussoren at mac.com
Wed May 12 10:14:51 EDT 2004
On 12-mei-04, at 16:06, Glenn Andreas wrote:
>
> So if you test for the existance of /usr/bin/python before running a
> script, that won't work. If you embed python using the shared
> framework, it probably won't even launch correctly since the shared
> binary isn't there. So Bob's careful safety net for PyObjC won't work
> either unless you make sure to weak-link the framework (I'm not sure
> how doable that is, since I though weak-linking was on a per-symbol
> basis, so all the symbols for Python would need to be weak-linked).
PyMacApp explicitely loads the python framework at runtime, you will
get a niceish error message (in the console window).
BTW. It is not a "careful safetynet for PyObjC", the solution is meant
as a general bundle-runner for python-based .app's.
Ronald
More information about the Pythonmac-SIG
mailing list