[GRASS-dev] GRASS GIS 7 tech-preview release preparations

Moritz Lennert mlennert at club.worldonline.be
Fri Aug 30 07:50:34 PDT 2013


On 26/08/13 23:24, Glynn Clements wrote:
>
> Moritz Lennert wrote:
>
>> - Two concern Windows code page issues (#995, #1288) for which I don't
>> really know what a possible solution would be (is it possible to create
>> a launcher for GRASS in Python, without using .bat at all ?)
>
> If the Python interpreter is registered, you should just be able to
> execute the grass70.py script.

Do I understand correctly that for this to work the grass70.py script 
would need to be altered to

- set GISBASE
- set the environment variables as defined in mswindows/env.bat
- set the CWD to %USERPROFILE%

?

>
> Failing that, you can create a shortcut which executes a specific
> python.exe (or pythonw.exe) with the path to the grass.py script as an
> argument.
>
> Failing that, a .bat/.cmd file should work fine, so long as it just
> executes grass70.py via Python, and doesn't try to do anything else.

idem

Moritz


More information about the grass-dev mailing list