On Wed, Feb 25, 2015 at 2:45 AM, Radim Blazek <[email protected]> wrote:
> > it would be good if you can include GRASS Addons, too. There is a lot of > > requests for installing/running GRASS Addons from QGIS, e.g. at > > gis.stackexchange.com. > > How can I get list of installed GRASS Addons? For basic list you can just use `g.extension -a` [1]. wxGUI is using more complex approach implemented in UpdateGRASSAddOnCommands function [2]. One reason for higher complexity is handling calls of Python scripts on MS Windows (which would use some code review). [1] https://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/core/toolboxes.py?rev=64678#L475 [2] https://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/core/globalvar.py?rev=64678#L136
_______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
