On 3/22/06, Christopher Barker <[EMAIL PROTECTED]> wrote: > 2) you mentioned a programmatic API: In fact, I think there is a plist > somewhere that sets the default environment variables for all apps, you > could add a PATH entry (or add to it) programmaticly easily enough.
Yes, it's ~/.MacOSX/environment.plist; see Apple's QA1067 <http://developer.apple.com/qa/qa2001/qa1067.html>. Perhaps the new Python installer should set this location instead of .profile (which doesn't help people using csh/tcsh)? (Be sure to include the "standard" path "/usr/bin:/bin:/usr/sbin:/sbin" as well -- the settings in the .plist file are *not* cumulative.) > 3) PATH is only relevant to command line apps: if you've never gone back > from using a GUI -- you'll never need to care about this. But I would guess a number of Python-based GUI applications probably use command-line utilities under the covers, which is why a global setting is useful. -- Russell Finn _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig