This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author paul.moore
Recipients paul.moore, steve.dower, tim.golden, zach.ware
Date 2016-09-22.13:55:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474552529.42.0.627404378819.issue28247@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-09-22 13:55:29paul.mooresetrecipients: + paul.moore, tim.golden, zach.ware, steve.dower
2016-09-22 13:55:29paul.mooresetmessageid: <1474552529.42.0.627404378819.issue28247@psf.upfronthosting.co.za>
2016-09-22 13:55:29paul.moorelinkissue28247 messages
2016-09-22 13:55:29paul.moorecreate