[Python-Dev] PEP 441 - Improving Python ZIP Application Support

Barry Warsaw barry at python.org
Tue Feb 17 19:47:42 CET 2015


On Feb 15, 2015, at 05:15 PM, Petr Viktorin wrote:

>So I'd suggest `/usr/bin/env python3` for the default.

I really don't want `/usr/bin/env anything`.

In general, using /usr/bin/env is a fine tool for developers, but a terrible
tool for deployment.  It's just too easy for end users to break an application
by mucking with their $PATH.  In Debian/Ubuntu, we don't allow these shebangs
in system scripts, and in fact the package build tools will rewrite shebangs
to avoid them.

Cheers,
-Barry


More information about the Python-Dev mailing list