New submission from Paul Moore:

The zipapp module allows users to bundle their application as a single file 
"executable". On Windows, the file is given a ".pyz" extension which is 
associated with the Python launcher. However, this approach is not always 
equivalent to a native executable (see 
http://paul-moores-notes.readthedocs.io/en/latest/wrappers.html for more 
details).

I suggest adding an option to zipapp that prepends a small executable to the 
zipapp that uses the Python C API to launch the application. A prototype 
implementation (zastub) is available at https://github.com/pfmoore/pylaunch.

If this seems reasonable, I'll work up a full patch.

----------
assignee: paul.moore
components: Library (Lib), Windows
messages: 277224
nosy: paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
stage: needs patch
status: open
title: Add an option to zipapp to produce a Windows executable
type: enhancement
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28247>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to