Python shebang policy

Gary E. Miller gem at
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> 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-

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

# 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?

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at  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: <>

More information about the devel mailing list