it seems that g.extension.py is called when grass7-wxgui is started.
Since r57144 menu can contain an entry which will show the list of
installed addons. In the current version, the addons entry is included
in Search module (in module tree) if some addons are installed.
g.extension is needed to list installed addons. If this is a problem,
installed addons can be retrieved from XML in addons directory
(calling `g.extension -a` is simpler, but parsing XML is also
possible).
Some days ago there was a bug in usage of find_program function which
in turn caused triggering of compilation by g.extension. This was
causing the compilation in current directory when starting wxGUI (at
least under linux). This is fixed now.
Since r57144 menu can contain an entry which will show the list of
installed addons. In the current version, the addons entry is included
in Search module (in module tree) if some addons are installed.
g.extension is needed to list installed addons. If this is a problem,
installed addons can be retrieved from XML in addons directory
(calling `g.extension -a` is simpler, but parsing XML is also
possible).
Some days ago there was a bug in usage of find_program function which
in turn caused triggering of compilation by g.extension. This was
causing the compilation in current directory when starting wxGUI (at
least under linux). This is fixed now.
thanks for the clarification.
I've seen it, because every call of a python-script here at my WinVista- or
Win7-box pops up a window and asks how to open the script...
On 22 July 2013 13:33, Helmut Kudrnovsky <hellik@web.de> wrote:
I've seen it, because every call of a python-script here at my WinVista- or
Win7-box pops up a window and asks how to open the script...
Yes, this is another problem there is e.g. #2015 and others you know
about. This makes the new functionality a bit unpleasant but since
there are started different scripts many times, one more is not such a
issue. If it is an issue (and #2015, in which I'm completely lost,
will not be fixed soon), I can change the way of retrieving installed
addons form module call to XML parsing (information is in XML if I
remember correctly).