[GRASS-dev] compile grass with python 3

HI devs,

I am running grass 7.6 on Ubuntu, compiled from source. Now I would like to test grass trunk with python 3, but I am unsure how to make sure grass is compiled with python 3 instead of python 2.7.

Related question, can I compile grass trunk with python 3 next to grass 7.6?

Cheers,
Paulo

On Sat, Apr 13, 2019 at 5:09 PM Paulo van Breugel
<p.vanbreugel@gmail.com> wrote:

HI devs,

I am running grass 7.6 on Ubuntu, compiled from source. Now I would like to test grass trunk with python 3, but I am unsure how to make sure grass is compiled with python 3 instead of python 2.7.

Please see here for compile/usage instructions:

https://trac.osgeo.org/grass/wiki/Python3Support#Howtotest

Related question, can I compile grass trunk with python 3 next to grass 7.6?

Yes.

Markus

Thanks Markus, that works, got it up and running.

On 4/13/19 5:30 PM, Markus Neteler wrote:

On Sat, Apr 13, 2019 at 5:09 PM Paulo van Breugel
<p.vanbreugel@gmail.com> wrote:

HI devs,

I am running grass 7.6 on Ubuntu, compiled from source. Now I would like to test grass trunk with python 3, but I am unsure how to make sure grass is compiled with python 3 instead of python 2.7.

Please see here for compile/usage instructions:

https://trac.osgeo.org/grass/wiki/Python3Support#Howtotest

Related question, can I compile grass trunk with python 3 next to grass 7.6?

Yes.

Markus