[GRASS-dev] [GRASS GIS] #2138: winGRASS6.4.svn - addon python script status?

GRASS GIS trac at osgeo.org
Sun Nov 24 13:46:38 PST 2013


#2138: winGRASS6.4.svn - addon python script status?
-------------------------------------+--------------------------------------
 Reporter:  hellik                   |       Owner:  grass-dev@…              
     Type:  defect                   |      Status:  new                      
 Priority:  blocker                  |   Milestone:  6.4.4                    
Component:  Addons                   |     Version:  unspecified              
 Keywords:  wingrass, addon, python  |    Platform:  MSWindows 7              
      Cpu:  x86-64                   |  
-------------------------------------+--------------------------------------

Comment(by hellik):

 in comparison additional information related to shell scripts

 {{{
 System Info
 GRASS Version: 6.5.svn
 GRASS SVN Revision: 58286
 GIS Library Revision: 50936 (2012-02-25)
 GDAL/OGR: 1.10.1
 PROJ4: Rel. 4.8.0, 6 March 2012
 Python: 2.7.4
 wxPython: 2.8.12.1
 Platform: Windows-7-6.1.7601-SP1 (OSGeo4W)
 }}}

 > content of r.basin.bat:
 >@"%GRASS_PYTHON%" "%GISBASE%/r.basin.py" %*

 i.e. http://trac.osgeo.org/grass/browser/grass-
 addons/grass6/vector/v.out.ascii.mat

 the content of v.out.ascii.mat.bat

 {{{
 @"%GRASS_SH%" "%GRASS_ADDON_PATH%/v.out.ascii.mat" %*
 }}}

 see '''"%GISBASE%/r.basin.py"''' vs.
 '''"%GRASS_ADDON_PATH%/v.out.ascii.mat"'''

 it seems for addon shell scripts the path is correct.

 I'm a little bit lost in g.extension.py to change the path to addons
 correctly also for addon python script ...

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2138#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list