On 20/02/15 14:25, Markus Neteler wrote:
On Fri, Feb 20, 2015 at 1:47 PM, Yann Chemin <[email protected]> wrote:
Hi,
I would like to use a different version of Python from the default install in
the PC,
is there a way to force it in the configure script?
Not (yet) AFAIK. But you can modify it after the "configure" step here:
include/Make/Platform.make:PYTHON = python
There is at time the hardcoded name:
include/Make/Platform.make.in:PYTHON = python
Other option: use "alias":
[neteler@pgis_north ]$ python --version
Python 2.7.8
[neteler@pgis_north ]$ alias python=python3.4
[neteler@pgis_north ]$ python --version
Python 3.4.1
Then run "configure" etc. Of course the alias must then persist later,
so put it into $HOME/.bashrc or similar.
Doesn't 'export GRASS_PYTHON=YourChoiceOfPython' simply do the trick at
runtime ?
Moritz
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev