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

GRASS GIS trac at osgeo.org
Thu Apr 17 03:10:35 PDT 2014


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

Comment(by martinl):

 Replying to [comment:13 hellik]:
 > the related bat-file:
 >
 > {{{
 > @"%GRASS_PYTHON%"
 "C:\Users\xxx\AppData\Roaming\GRASS6\addons/r.basin.py" %*
 > }}}
 >
 > the path for the python addon seems to be hard coded compared to a shell
 addon?

 `GRASS_ADDON_PATH` could contain more directory paths. From this POV the
 hardcoded path is probably better. It also relates for `prefix` option of
 `g.extension`.

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



More information about the grass-dev mailing list