[GRASS-dev] PYTHONPATH question
Michael Barton
michael.barton at asu.edu
Tue Jul 29 14:10:09 EDT 2008
On Jul 29, 2008, at 11:03 AM, William Kyngesburye wrote:
> On Jul 29, 2008, at 12:42 PM, Michael Barton wrote:
>
>> Looking more closely, one is in...
>>
>> /Library/Frameworks/Python.framework/Versions/2.5/bin/python
>>
>> and the other is in...
>>
>> /System/Library/Frameworks/Python.framework/Versions/2.5/bin/python
>>
>> Is one of these a System Python, or has MacPython shifted where it
>> installs?
>>
>> Michael
>
>
> I thought that would be obvious: /System/Library/... is the system
> python. The MacPython packagers would have been out of their minds
> to install in there.
You never know...
Anyway, it looks like the shebang should be #!/usr/bin/env python
unless that is a problem on a non-Mac system. What about Windows?
Michael
>
>
> Technically, they're both "MacPython", or just plain "Python" since
> the MacPython packaging became the official distribution. But it's
> still helpful to say "system python" and "MacPython" (or as I say,
> "python.org python") to distinguish between the two.
>
> Apple builds the standard [Mac]Python, just in the system location
> (and a few tweaks, like site-packages in /Library/Python).
>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> "Oh, look, I seem to have fallen down a deep, dark hole. Now what
> does that remind me of? Ah, yes - life."
>
> - Marvin
>
>
More information about the grass-dev
mailing list