소스 검색

backport https://trac.osgeo.org/grass/changeset/65474 (64 to 7 and bin to lib in init)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@65653 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras 9 년 전
부모
커밋
d74e545f95
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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