[GRASS-dev] [GRASS GIS] #2138: winGRASS6.4.svn - addon python script status?
GRASS GIS
trac at osgeo.org
Thu Apr 17 03:20:42 PDT 2014
#2138: winGRASS6.4.svn - addon python script status?
-------------------------------------+--------------------------------------
Reporter: hellik | Owner: martinl
Type: defect | Status: assigned
Priority: critical | Milestone: 6.4.4
Component: Addons | Version: svn-releasebranch64
Keywords: wingrass, addon, python | Platform: MSWindows 7
Cpu: x86-64 |
-------------------------------------+--------------------------------------
Changes (by hellik):
* priority: blocker => critical
Comment:
Replying to [comment:14 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`.
it's just interesting why the same string exchange mechanism in
g.extension.py does different things for shell and python addon scripts
regarding path.
anyway downgrading priority; one step further to GRASS6.4.4 RC1.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2138#comment:15>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list