[GRASS-dev] Make files for g.extension
glynn at gclements.plus.com
Tue Nov 24 14:39:43 EST 2009
John A Stevenson wrote:
> > The "script" target will attempt to make $GISBASE/scripts/$PGM.py
> > (Windows) or $GISBASE/scripts/$PGM (Unix) from ./$PGM.py
> Does it alter the file in the process?
> Could I just rename the script
> r.denoise.py and have it copied into the scripts directory, and
> therefore be made visible on the PATH?
> Or is that just asking for trouble/confusion?
That will probably work on Unix; on Windows, the installed script will
retain the .py extension.
I can't guarantee that it will continue to work even on Unix; if it
works at the moment, that's a coincidence, not by design.
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev