[GRASS-dev] python2/3 and GRASS build on Arch
glynn at gclements.plus.com
Thu Jan 3 15:13:48 PST 2013
Maciej Sieczka wrote:
> > The python interpreter is accessed via the make variable PYTHON, so
> > you can use e.g.:
> > make PYTHON=python2
> Still one error crops out - ctypesgen.py has "#!/usr/bin/env python"
> shebang, which calls Python 3.x on Arch, therefore:
> Changing that shebang to python2 let the build complete OK. Do you know
> if there is a workaround which does not involve modyfying the source though?
Create a directory containing a symlink from "python" to the python2
executable, than add that directory to the front of the PATH.
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev