ソースを参照

backport https://trac.osgeo.org/grass/changeset/65526 (pygrass to grass.pygrass)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@65651 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras 9 年 前
コミット
6a04df2839

+ 1 - 1
lib/python/docs/src/pygrass_modules.rst

@@ -5,7 +5,7 @@ In "modules", GRASS GIS modules are represented as objects. These objects
 are generated based on the XML module description that is used also for
 the generation of the graphical user interface (GUI). ::
 
-    >>> from pygrass.modules import Module
+    >>> from grass.pygrass.modules import Module
     >>> slope_aspect = Module("r.slope.aspect", elevation='elevation',
     ...                        slope='slp',  aspect='asp',
     ...                        format='percent', overwrite=True)

+ 1 - 1
lib/python/docs/src/pygrass_vector.rst

@@ -309,7 +309,7 @@ Or can list only the areas containing isles: ::
 
 Of course is still possible work only with a specific area, with: ::
 
-    >>> from pygrass.vector.geometry import Area
+    >>> from grass.pygrass.vector.geometry import Area
     >>> area = Area(v_id=1859, c_mapinfo=municip.c_mapinfo)
     >>> area.area()
     39486.05401495844

+ 1 - 1
lib/python/pygrass/tests/benchmark.py

@@ -21,7 +21,7 @@ sys.path.append("%s/.."%(os.getcwd()))
 import grass.lib.gis as libgis
 import grass.lib.raster as libraster
 import grass.script as core
-import pygrass
+import grass.pygrass
 import ctypes