logo       

Re: Minimal Install Results: msg#00065

python.apple

Subject: Re: Minimal Install Results


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


_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@xxxxxxxxxx
http://mail.python.org/mailman/listinfo/pythonmac-sig



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise