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

Paul Moore p.f.moore at gmail.com
Mon Feb 16 18:10:17 CET 2015


On 16 February 2015 at 16:42, Paul Moore <p.f.moore at gmail.com> wrote:
> My point is that on Windows, users typically don't change the
> executable name they use[1], but rather configure the "python" (or
> "py") command to do what they want. So I think that on Windows we
> should follow that convention and execute whatever "python"/"py"
> execute.

One other thought. We could add "short form" options for -p to the
zipapp command:

    -p X[.Y]    Use "#!/usr/bin/env pythonX[.Y]" as the shebang.

I'd definitely want the default to be "python" in that case, though,
as it's the one you can't specify in a short form otherwise.

Paul


More information about the Python-Dev mailing list