[GRASS-user] problem add-ons and python (windows7)

Hamish hamish_b at yahoo.com
Fri Jun 14 17:58:31 PDT 2013


Hamish wrote:
> another potential problem I see is that the Makefile for both
> modules are calling Script.make instead of Python.make.

Margherita:
> Should I change it or is it working anyway? I wasn't aware of
> this.

no, don't change it yet, grass6's Python.make is still needs a
bit of work. A lot of it seems to be unused left-overs from the
old SWIG interface, and I am unsure what a final install for a
python module on WinGrass should look like. (does it need a .bat
file wrapper? should that .bat wrapper call GRASS_SH or
GRASS_PYTHON? if we keep the .py extension there can g.parser
be aware of PATHEXT and so call the program without adding .py?)

likewise, shell script addon modules need to be tested with
grass7's make system.


Hamish


More information about the grass-user mailing list