[GRASS-dev] Python handling in winGRASS7 [was: Re: GRASS GIS 7 tech-preview release preparations]

Helmut Kudrnovsky hellik at web.de
Sat Jul 27 06:04:34 PDT 2013


>
>Note that Python 3 includes a launcher utility for Windows:
>
>	http://docs.python.org/3/using/windows.html#launcher
>
>The idea is that the .py extension can be associated with the
>launcher, which can be configured to use a specific version of Python
>in a specific context.
>
>I don't know whether it's possible to make use of this without
>installing the rest of Python 3, though.

some more test see here:

http://trac.osgeo.org/grass/ticket/2015#comment:6

Python Launcher for Windows is a interesting concept for switching between
python versions or for pointing to a specific python interpreter.

shebang + py.ini seems to work (see tests in the ticket).

IIUC, by this concept a WinGrass-python script would have to be invoked by
py.exe (Python Launcher for Windows)?

- could this be integrated in WinGrass?
- would this help to call a python-script within a python-script?
- would this help to type only r.xxxx in the WinGrass7-windows-console
without the .py-extension to start a grass-python-script?
- would this help for http://trac.osgeo.org/grass/ticket/2015?




-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Re-GRASS-GIS-7-tech-preview-release-preparations-tp5066002p5069091.html
Sent from the Grass - Dev mailing list archive at Nabble.com.


More information about the grass-dev mailing list