[GRASS-dev] [GRASS GIS] #2138: winGRASS6.4.svn - addon python script status?
GRASS GIS
trac at osgeo.org
Thu Apr 17 02:22:44 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 hellik):
Replying to [comment:11 martinl]:
> Replying to [comment:1 hellik]:
>
> > I'm a little bit lost in g.extension.py to change the path to addons
correctly also for addon python script ...
>
> it was just a typo, should be fixed in r59750
right, the typo should be obvious ;-)
tested here with
{{{
System Info
GRASS Version: 6.4.4svn
GRASS SVN Revision: 59750
GDAL/OGR: 1.10.1
PROJ4: Rel. 4.8.0, 6 March 2012
Python: 2.7.4
wxPython: 2.8.12.1
Platform: Windows-Vista-6.0.6002-SP2 (OSGeo4W)
}}}
{{{
g.extension.py extension=r.flip svnurl=http://svn.osgeo.org/grass/grass-
addons/grass6
Downloading precompiled GRASS Addons <r.flip>...
Updating metadata file...
Installation of <r.flip> successfully finished
}}}
the content of the related bat-file:
{{{
@"%GRASS_SH%" "%GRASS_ADDON_PATH%/r.flip" %*
}}}
and a python addon:
{{{
g.extension.py extension=r.basin svnurl=http://svn.osgeo.org/grass/grass-
addons/grass6
Downloading precompiled GRASS Addons <r.basin>...
Updating metadata file...
Installation of <r.basin> successfully finished
}}}
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?
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2138#comment:13>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list