<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 17, 2014 at 2:59 PM, Martin Landa <span dir="ltr"><<a href="mailto:landa.martin@gmail.com" target="_blank">landa.martin@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
currently wxGUI code is placed by building system in `etc` directory.<br>
I would say that more appropriate would be to put `gui` directory into<br>
root, so at the same level as `bin` or `scripts`.<br>
<br>
Simirarly python libs are placed also in `etc` directory. They should<br>
probably go to `lib\python` instead of `etc\python`.<br>
<br>
Any opinion?<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div>I'm for the reform. Please, consider also other related issues.</div><div><br></div><div>The same layout for src and dist would be good for editing because then editors, python and other tools can just use the layout in src and it will work. This would mean that things which are now in `lib/python` should go to something which is named `grass` so that I can do</div>

<div><br></div><div>import grass.script</div><div><br></div><div>in the source code and it will work. Maybe separate directory for python libs in src root would enable this option?</div><div><br></div><div>Note that for C/C++ code we have a similar issue. In the source code, includes are in `include` but in distribution they are in `include/grass` so you have to do</div>

<div><br></div><div>#include grass/raster.h</div><div><br></div><div>but if you are editing source code in some clever editor and you want to jump from the .c file to the header, you cannot since there is no `grass` directory in src. This applies also for code completion etc. Of course, you can set the editor so that it finds the files in dist but you don't want to jump to dist, but to source code.</div>

<div><br></div><div>Vaclav</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
Martin<br>
<br>
--<br>
Martin Landa * <a href="http://geo.fsv.cvut.cz/gwiki/Landa" target="_blank">http://geo.fsv.cvut.cz/gwiki/Landa</a><br>
_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br>
</font></span></blockquote></div><br></div></div>