[GRASS-SVN] r65474 - grass/trunk/lib/python/script
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jun 14 14:18:02 PDT 2015
Author: wenzeslaus
Date: 2015-06-14 14:18:01 -0700 (Sun, 14 Jun 2015)
New Revision: 65474
Modified:
grass/trunk/lib/python/script/setup.py
Log:
pythonlib: use 7, not 64 and bin not lib in init call example
Alternative would be to use just universal /usr/bin/grass or even grass.
Modified: grass/trunk/lib/python/script/setup.py
===================================================================
--- grass/trunk/lib/python/script/setup.py 2015-06-14 20:36:07 UTC (rev 65473)
+++ grass/trunk/lib/python/script/setup.py 2015-06-14 21:18:01 UTC (rev 65474)
@@ -130,7 +130,7 @@
# ... setup GISBASE and PYTHON path before import
import grass.script as gscript
- gisrc = gscript.setup.init("/usr/lib/grass64",
+ gisrc = gscript.setup.init("/usr/bin/grass7",
"/home/john/grassdata",
"nc_spm_08", "user1")
# ... use GRASS modules here
More information about the grass-commit
mailing list