[GRASS-user] Using Python scripts that call GRASS modules or access GRASS layers from outside the GRASS.app with Mac OS X: a little summary
gene
martin.laloux at gmail.com
Mon Jul 9 08:17:18 PDT 2012
ok, thanks, you are right, I wrote too fast...
So, the correct environment variables for Mac OS X are:
$ export GISBASE="/Applications/GRASS-6.4.app/Contents/MacOS"
$ export PYTHONPATH="${PYTHONPATH}:$GISBASE/etc/python/"
$ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$GISBASE/lib"
$ export GIS_LOCK=$$
$ export GISRC="/Users/username/.grassrc6"
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Using-Python-scripts-that-call-GRASS-modules-or-access-GRASS-layers-from-outside-the-GRASS-app-with-y-tp4986756p4986978.html
Sent from the Grass - Users mailing list archive at Nabble.com.
More information about the grass-user
mailing list