Browse Source

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.


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@65474 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras 10 years ago
parent
commit
9a436b59f4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/python/script/setup.py

+ 1 - 1
lib/python/script/setup.py

@@ -130,7 +130,7 @@ def init(gisbase, dbase='', location='demolocation', mapset='PERMANENT'):
 
         # ... 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