[Python-Dev] PEP 4XX: pyzaa "Improving Python ZIP Application Support"

Brett Cannon brett at python.org
Tue Apr 2 19:28:55 CEST 2013


On Tue, Apr 2, 2013 at 1:20 PM, Steve Dower <Steve.Dower at microsoft.com>wrote:

> > python -m pyzaa pack [-o path/name] [-m module.submodule:callable] [-c]
> [-w] [-p interpreter] directory:
> >
> >    ZIP the contents of directory as directory.pyz or [-w]
> directory.pyzw. Adds the executable flag to the archive.
> >
> > ...
> >
> >    -p interpreter include #!interpreter as the first line of the archive
>
> What happens when -p is omitted? I'd hope it would add the interpreter
> used to create the zip (or at least the major version), but that may not be
> ideal for some reason that I haven't thought of yet.
>

Question is whether ``/usr/bin/python3.3`` is better or ``/usr/bin/env
python3.3``. I vote for the latter since it gets you the right thing
without having to care about whether the interpreter moved or is being
hidden by a user-installed interpreter.

-Brett


>
> Everything else looks great. I'm really looking forward to this.
>
> Cheers,
> Steve
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/brett%40python.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130402/8cee6c4d/attachment-0001.html>


More information about the Python-Dev mailing list