<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 22, 2015 at 8:48 PM, Vaclav Petras <span dir="ltr"><<a href="mailto:wenzeslaus@gmail.com" target="_blank">wenzeslaus@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class=""><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 22, 2015 at 11:20 AM, Panagiotis Mavrogiorgos <span dir="ltr"><<a href="mailto:pmav99@gmail.com" target="_blank">pmav99@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote">1. whether "<font face="monospace, monospace">~/.grass7/addons/bin</font>" should be added to the PATH (e.g. <span style="color:rgb(0,0,0);font-family:monospace;font-size:11px;background-color:rgb(238,238,221)">os</span><span style="font-weight:bold;color:rgb(0,0,0);font-family:monospace;font-size:11px">.</span><span style="color:rgb(0,0,0);font-family:monospace;font-size:11px;background-color:rgb(238,238,221)">path</span><span style="font-weight:bold;color:rgb(0,0,0);font-family:monospace;font-size:11px">.</span><span style="color:rgb(0,0,0);font-family:monospace;font-size:11px;background-color:rgb(238,238,221)">join</span><span style="color:rgb(0,0,0);font-family:monospace;font-size:11px">(</span><span style="color:rgb(0,0,0);font-family:monospace;font-size:11px;background-color:rgb(238,238,221)">addon_base</span><span style="color:rgb(0,0,0);font-family:monospace;font-size:11px">,</span><span style="color:rgb(0,0,0);font-family:monospace;font-size:11px;background-color:rgb(238,238,221)"> </span><span style="color:rgb(187,136,68);font-family:monospace;font-size:11px">'bin'</span><span style="color:rgb(0,0,0);font-family:monospace;font-size:11px">) </span><span style="color:rgb(0,0,0);font-size:11px"><font face="arial, helvetica, sans-serif">)</font></span></div>2. whether the respective directories should be added to PATH on windows.</blockquote></div><br></div></span><div class="gmail_extra">Makes sense. There must be similar code in grass.py somewhere, so perhaps the answer is do it the same as there.<br><br><a href="https://trac.osgeo.org/grass/browser/grass/trunk/lib/init/grass.py" target="_blank">https://trac.osgeo.org/grass/browser/grass/trunk/lib/init/grass.py</a><br></div></div>
</blockquote></div><br></div><div class="gmail_extra">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. </div><div class="gmail_extra"><br></div><div class="gmail_extra">I can't really comment on the windows issue, but can anyone clarify the usage of the "scripts" sub-directory?</div></div>