Re: [GRASS-dev] python scripts in grass6

2009-07-08 Thread Glynn Clements
Martin Landa wrote: > >> Then PGM should always contain file extension. > > > > No, because the file extension is removed on Unix, and it doesn't > > appear in the name of the manpage or HTML file. PGM is the *name* of > > the module or script, not necessarily its filename. > > That is what I wa

Re: [GRASS-dev] python scripts in grass6

2009-07-07 Thread Martin Landa
Hi, 2009/7/7 Glynn Clements : >> >> Probably I was unclear, I would like just to avoid having two separate >> >> Makefiles for one Python script, one for GRASS7 with `PGM=module` and >> >> the second for GRASS6 with `PGM=module.py`. Nothing more. >> > >> > Regardless, make needs to know which file

Re: [GRASS-dev] python scripts in grass6

2009-07-07 Thread Glynn Clements
Martin Landa wrote: > >> Probably I was unclear, I would like just to avoid having two separate > >> Makefiles for one Python script, one for GRASS7 with `PGM=module` and > >> the second for GRASS6 with `PGM=module.py`. Nothing more. > > > > Regardless, make needs to know which file it's supposed

Re: [GRASS-dev] python scripts in grass6

2009-07-06 Thread Martin Landa
Hi, 2009/7/6 Glynn Clements : [...] >> Probably I was unclear, I would like just to avoid having two separate >> Makefiles for one Python script, one for GRASS7 with `PGM=module` and >> the second for GRASS6 with `PGM=module.py`. Nothing more. > > Regardless, make needs to know which file it's s

Re: [GRASS-dev] python scripts in grass6

2009-07-06 Thread Glynn Clements
Martin Landa wrote: > >> currently in GRASS 6 PGM variable must be set including python file > >> extension, in GRASS 7 not, e.g. > >> > >> PGM=v.krige.py in GRASS6 > >> PGM=v.krige in GRASS7 > >> > >> Would be possible to change building system in GRASS 6 to unify it with > >> GRASS 7. > > > >

Re: [GRASS-dev] python scripts in grass6

2009-07-06 Thread Martin Landa
Hi, 2009/7/6 Glynn Clements : >> currently in GRASS 6 PGM variable must be set including python file >> extension, in GRASS 7 not, e.g. >> >> PGM=v.krige.py in GRASS6 >> PGM=v.krige in GRASS7 >> >> Would be possible to change building system in GRASS 6 to unify it with >> GRASS 7. > > GRASS 7 now

Re: [GRASS-dev] python scripts in grass6

2009-07-05 Thread Glynn Clements
Martin Landa wrote: > currently in GRASS 6 PGM variable must be set including python file > extension, in GRASS 7 not, e.g. > > PGM=v.krige.py in GRASS6 > PGM=v.krige in GRASS7 > > Would be possible to change building system in GRASS 6 to unify it with GRASS > 7. GRASS 7 now *only* allows Pyt

Re: [GRASS-dev] python scripts in grass6

2009-07-05 Thread Markus Neteler
On Sun, Jul 5, 2009 at 5:37 PM, Martin Landa wrote: > Hi, > > currently in GRASS 6 PGM variable must be set including python file > extension, in GRASS 7 not, e.g. > > PGM=v.krige.py in GRASS6 > PGM=v.krige in GRASS7 A similar case are "description.html" versus "modulename.html". > Would be possi

[GRASS-dev] python scripts in grass6

2009-07-05 Thread Martin Landa
Hi, currently in GRASS 6 PGM variable must be set including python file extension, in GRASS 7 not, e.g. PGM=v.krige.py in GRASS6 PGM=v.krige in GRASS7 Would be possible to change building system in GRASS 6 to unify it with GRASS 7. Thanks in advance, Martin -- Martin Landa * http://gama.fsv.