[GRASS-dev] GUI code dest dir

2014-04-17 Thread Martin Landa
Hi all, currently wxGUI code is placed by building system in `etc` directory. I would say that more appropriate would be to put `gui` directory into root, so at the same level as `bin` or `scripts`. Simirarly python libs are placed also in `etc` directory. They should probably go to `lib\python`

Re: [GRASS-dev] GUI code dest dir

2014-04-17 Thread Vaclav Petras
On Thu, Apr 17, 2014 at 2:59 PM, Martin Landa wrote: > Hi all, > > currently wxGUI code is placed by building system in `etc` directory. > I would say that more appropriate would be to put `gui` directory into > root, so at the same level as `bin` or `scripts`. > > Simirarly python libs are placed

Re: [GRASS-dev] GUI code dest dir

2014-04-17 Thread Volker Fröhlich
Am 2014-04-17 21:30, schrieb Vaclav Petras: On Thu, Apr 17, 2014 at 2:59 PM, Martin Landa mailto:landa.mar...@gmail.com>> wrote: Hi all, currently wxGUI code is placed by building system in `etc` directory. I would say that more appropriate would be to put `gui` directory into

Re: [GRASS-dev] GUI code dest dir

2014-04-18 Thread Martin Landa
Hi, 2014-04-17 21:30 GMT+02:00 Vaclav Petras : > I'm for the reform. Please, consider also other related issues. great :-) > 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 me

Re: [GRASS-dev] GUI code dest dir

2014-04-18 Thread Vaclav Petras
On Fri, Apr 18, 2014 at 10:44 AM, Martin Landa wrote: > > 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 > >

Re: [GRASS-dev] GUI code dest dir

2014-04-18 Thread Glynn Clements
Vaclav Petras wrote: > 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 > > #include grass/raster.h > > but if you are editing source code in some clever editor and you want to >

Re: [GRASS-dev] GUI code dest dir

2014-04-27 Thread Vaclav Petras
On Thu, Apr 17, 2014 at 3:30 PM, Vaclav Petras wrote: > > > > On Thu, Apr 17, 2014 at 2:59 PM, Martin Landa wrote: > >> Hi all, >> >> currently wxGUI code is placed by building system in `etc` directory. >> I would say that more appropriate would be to put `gui` directory into >> root, so at the

Re: [GRASS-dev] GUI code dest dir

2014-04-27 Thread Hamish
Vaclav: >>> currently wxGUI code is placed by building system in `etc` >>> directory. I would say that more appropriate would be to put `gui` >>> directory into root, so at the same level as `bin` or `scripts`. >>> >>> Simirarly python libs are placed also in `etc` directory. They >>> should probab

Re: [GRASS-dev] GUI code dest dir

2014-04-30 Thread Glynn Clements
Hamish wrote: > >>> currently wxGUI code is placed by building system in `etc` > >>> directory. I would say that more appropriate would be to put `gui` > >>> directory into root, so at the same level as `bin` or `scripts`. > >>> > >>> Simirarly python libs are placed also in `etc` directory. They

Re: [GRASS-dev] GUI code dest dir

2014-05-01 Thread Martin Landa
Hi, 2014-04-18 16:44 GMT+02:00 Martin Landa : > 1) etc/gui -> gui for record, I moved wxGUI to DISTDIR/gui in r60006-13. I also eliminated hardcoded paths wxGUI code by adding wxpython dir to PYTHONPATH. You can report possible bug related to this change directly to me. Later I would to introduce

Re: [GRASS-dev] GUI code dest dir

2014-05-01 Thread Martin Landa
Hi, 2014-04-30 9:08 GMT+02:00 Glynn Clements : >> probably not $GISBASE/lib/python/, as lib/ is for libgis et al. on UNIX >> systems. > > Note that the Python standard library typically goes into > /usr/lib/pythonX.Y (where X.Y is the version) on Unix. > > OTOH, the standard library includes DSOs

Re: [GRASS-dev] GUI code dest dir

2014-05-03 Thread Glynn Clements
Martin Landa wrote: > >> probably not $GISBASE/lib/python/, as lib/ is for libgis et al. on UNIX > >> systems. > > > > Note that the Python standard library typically goes into > > /usr/lib/pythonX.Y (where X.Y is the version) on Unix. > > > > OTOH, the standard library includes DSOs as well as .