<p dir="ltr">Hi Martin,</p>
<p dir="ltr">I saw your recent comment in the set_path function:<br></p>
<p dir="ltr">{{{<br>
# TODO: why dirname is checked first - the logic should be revised <br>
# TODO  probably also 'path' should be also removed - it's used only by<br>
#       compilation process for addons (see r.green for details)<br>
}}}</p>
<p dir="ltr">'path' it is not used for compilation process for addons as you said. 'path' is used to run the code locally without compilation.</p>
<p dir="ltr">In this way it is possible to just unpack the module and call the sub-modules locally,  compilation is not needed at all... This it is particularly useful during the development phase but not only. It works quite well also to overcome eventually g.extension problems.</p>
<p dir="ltr">Of course dirname must be checked before the default path, other wise it is too late...</p>
<p dir="ltr">Any comments?</p>
<p dir="ltr">Have a nice day</p>
<p dir="ltr">Pietro</p>