[GRASS-user] Environment variables for Mac OSX

schorschli matthiasoswald at hotmail.com
Thu Mar 11 09:34:27 EST 2010


Hi all,

I wanted to start writing small python scripts for grass. Unfortunatelly I
fail to set the environment variables right. I'm struggeling since hours to
get them right. I found topics about environment variable in linux and
windows, but nothing for mac:

http://grass.osgeo.org/wiki/GRASS_and_Python

http://grass.osgeo.org/wiki/Using_Eclipse_to_develop_GRASS_Python_programs

Here is my last version I tried:


GISBASE = /Applications/GRASS-6.4.app/Contents/MacOS
LD_LIBARY_PATH = /Applications/GRASS-6.4.app/Contents/MacOS/lib
PATH = /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/
PYTHONLIB = /System/Library/Frameworks/Python.framework/Versions/2.5
PYTHONPATH = /Applications/GRASS-6.4.app/Contents/MacOS/etc/python

I have no clue how to define GISRC and GRASS_SH.

It would be great, if someone could give me some advices how they should be
defined.

Kind regards,

Mat



-- 
View this message in context: http://n2.nabble.com/Environment-variables-for-Mac-OSX-tp4716253p4716253.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list