On Mon, Aug 5, 2019 at 8:38 AM Markus Metz <markus.metz.gisw...@gmail.com> wrote: > On Sun, Aug 4, 2019 at 3:20 PM Markus Neteler <nete...@osgeo.org> wrote: > > > > Hi devs, > > > > since we now have the 7.8 release branch, I suggest to get rid of > > Python 2 support in master. > > > > This will greatly simplify the code. Python 2 is EOL anyway in a few months. > > I guess the first step would be to change the deprecated shebang > #!/usr/bin/env python > to > #!/usr/bin/env python3
Exactly. markusN PS: Those users insisting on Python 2 may then just run find -name '*.py' | xargs sed -i 's,#!/usr/bin/env python3,#!/usr/bin/env python2,' && \ sed -i 's,python3,python2,' include/Make/Platform.make.in _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-dev