Yo Richard! On Wed, 2 Sep 2020 14:14:43 -0500 Richard Laager via devel <devel@ntpsec.org> wrote:
> >> Proposed: We should drop support for Python 2 and use a python3 > >> shebang in all our scripts. > > Yes, please. We will have to agree to disagree. Unless you want to support all the resulting support comlaints? > > And which "python3 shebang" would you suggest? Last gpsd release > > uncovered that still no distros agree on that. gpsd gave up and > > made the python shebang a build option. > I think it was "supposed" to be /usr/bin/python3. Never been that way on Gentoo, never will be. So, for the love of the Goddess, NO. Also not valid on most distos. I suggest you spend some time with PEP 394: https://www.python.org/dev/peps/pep-0394/#recommendation Then look at how often it changes. > The most likely to work is probably this: > #!/usr/bin/env python3 Not on Gentoo! > But yeah, I would make it a build option. waf presumably knows where > Python is, since it is running in Python. On many distors, like Gentoo, the building Python is not always the target python. RGDS GARY --------------------------------------------------------------------------- Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703 g...@rellim.com Tel:+1 541 382 8588 Veritas liberabit vos. -- Quid est veritas? "If you can't measure it, you can't improve it." - Lord Kelvin
pgp6nnq10kkF7.pgp
Description: OpenPGP digital signature
_______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel