[GRASS-user] Addon installation without explicitly starting GRASS
Panagiotis Mavrogiorgos
pmav99 at gmail.com
Tue Dec 22 12:47:59 PST 2015
On Tue, Dec 22, 2015 at 8:48 PM, Vaclav Petras <wenzeslaus at gmail.com> wrote:
>
> On Tue, Dec 22, 2015 at 11:20 AM, Panagiotis Mavrogiorgos <
> pmav99 at gmail.com> wrote:
>
>> 1. whether "~/.grass7/addons/bin" should be added to the PATH (e.g. os.
>> path.join(addon_base, 'bin') )
>> 2. whether the respective directories should be added to PATH on windows.
>
>
> Makes sense. There must be similar code in grass.py somewhere, so perhaps
> the answer is do it the same as there.
>
> https://trac.osgeo.org/grass/browser/grass/trunk/lib/init/grass.py
>
Well, according to lib/init/grass.py, "~/.grass7/.addons/bin" should always
be added to PATH while "~/.grass7/addons/scripts" should only be added on
non-windows OSes.
I can't really comment on the windows issue, but can anyone clarify the
usage of the "scripts" sub-directory?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20151222/9297a8d4/attachment.html>
More information about the grass-user
mailing list