Glynn wrote:
Nothing should need the .bat wrapper once Tcl/Tk is dropped.
ok.
> > BTW, we need to add .py to PATHEXT; we don't appear to be
> > doing this at present.
....
> Index: lib/init/init.bat
....
> +set PATHEXT=%PATHEXT%;.PY
....
> hmph, the above doesn't seem to stick.
PATHEXT gets reverted?
I think that script may never have been run...?! (I'm hacking away at a
binary install here, and it's a tangled path of batch files and shell
scripts with ~6 different launchers*, so take failures with a grain of
salt)
[*] both osgeo4w and stand-alone builds installed, both with wx,tcl, and
text startup icons.. and all slightly similar but slightly different
methods of starting.
my next attempt was to put it into this script:
http://trac.osgeo.org/grass/browser/grass/trunk/mswindows/GRASS-Installer.nsi#L619
but then I thought it better to put it with the other enviro vars set=:
http://trac.osgeo.org/grass/browser/grass/trunk/mswindows/GRASS-Installer.nsi#L520
and now it sticks & is well "upstream" of almost everything.
shrug.
even with that I still can't get gui/scripts/v.type.py or
gui/scripts/g.change.gui.py to run. (also weirdly nviz(tcltk) from the
wxGUI File menu just silently returns, even though it starts from
the msys command line without any trouble)
> On linux at least the .py is removed from the script name and the
> module gets installed without extension in $GISBASE/scripts/
> I'm not sure what happens with the g7 WinGRASS build.It gets installed without the .py suffix, which won't work.
I'll commit a fix once it's tested.
thanks.
bit by bit & inch by inch!
Hamish