Python shebang policy

Gary E. Miller gem at rellim.com
Tue Mar 20 19:02:04 UTC 2018


Yo Richard!

On Tue, 20 Mar 2018 13:55:20 -0500
Richard Laager via devel <devel at ntpsec.org> wrote:

> I would prefer to see a ./waf configure option (with the default being
> some sort of autodetection). That is, I want to be able to do
> something like this:
> 
> ./waf configure --with-python=/usr/bin/python3

It already does that.

# python2 waf --help
[...]
    --python=PYTHON     python binary to be used [Default: /usr/lib/python-
                        exec/python2.7/python2]

# python3 waf --help
[...]
    --python=PYTHON     python binary to be used [Default: /usr/lib/python-
                        exec/python3.4/python3]

# python3.5
[...]
    --python=PYTHON     python binary to be used [Default: /usr/bin/python3.5]

Or do you want something different than what it does now?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20180320/f053080a/attachment.bin>


More information about the devel mailing list