On 11/19/2020 2:17 PM, Steven D'Aprano wrote:
On 20/11/20 12:24 am, Chris Angelico wrote:
Have you considered the value of using zipapp You get all the advantages of a single runnable file, and all the advantages of NOT including the full Python interpreter with it. It won't have all the properties of an app bundle on MacOSX, though. Firstly, does that matter? And secondly, what would it take to give it
On Fri, Nov 20, 2020 at 02:05:02AM +1300, Greg Ewing wrote: those additional properties?
It does matter. On Windows, for example, you can't use subprocess.run on a zipapp. See https://docs.python.org/3/library/zipapp.html#making-a-windows-executable. This is similar (but different) from not using .bat file wrappers for console entry points via pip, and instead creating a .exe file. But even that doesn't help with the use case of wanting an executable without having to install Python first. I've had need to ship an executable to users who have no idea what Python is. I just want a normal Windows .exe file that's self contained. Eric