On Wednesday, March 22, 2006, at 11:21PM, Russell Finn <[EMAIL PROTECTED]> wrote:
>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.) That's why my installer will never update this file, its too easy to lose existing settings. And the installer does update the shell init files for whatever is the shell of the user installing python, it will update the csh environment for anyone that uses that shell. Ronald _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig