[GRASS-dev] r54612 - grass/trunk/mswindows - wingrass: attempt to define python file association

Glynn Clements glynn at gclements.plus.com
Mon Jan 14 11:55:31 PST 2013


Helmut Kudrnovsky wrote:

> > wingrass: attempt to define python file association
> 
> any idea if this possibly interfere with a file association already set by
> other python-installations e.g. from www.python.org?

Yes; it should be reverted.

A GRASS installer should not attempt to install Python other than by
(possibly) downloading and executing the appropriate installer from
python.org.

For wxGUI, it is sufficient to bundle a "private" Python installation
and set the relevant environment variables in the GRASS startup (but
it should be possible to disable this if the system Python is
compatible with GRASS and wxGUI).

This won't work for general-purpose scripting. The only thing which
*will* work is to have a suitable version of Python (plus any
necessary packages) installed system-wide. And that isn't something
which GRASS can do anything about, nor should it try (other than by
providing advice to the user).

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list