[Distutils] Shebang lines, /usr/bin/python, and PEP394

Barry Warsaw barry at python.org
Fri Jul 26 22:27:32 CEST 2013


On Jul 26, 2013, at 08:38 PM, Paul Moore wrote:

>There are cases where it's useful and appropriate

Sure, I don't disagree.  Just that I think the general rule should be:

* Use /usr/bin/env in your source tree
* Use /usr/bin/$python when installed

I think those rules cover the majority of cases.  Any automatic shebang
rewriting must be selectable.  I'd argue for default-rewrite with an option to
disable.

-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20130726/b2664e8e/attachment.pgp>


More information about the Distutils-SIG mailing list