On Wed, Nov 25, 2020 at 12:03 PM Brendan Barnwell <brenb...@brenbarn.net> wrote: > > On 2020-11-24 16:47, Chris Angelico wrote: > > On Wed, Nov 25, 2020 at 10:29 AM Brendan Barnwell <brenb...@brenbarn.net> > > wrote: > >> > >> On 2020-11-24 00:05, Chris Angelico wrote: > >> >> > > >> >> >I'm still confused what the point is of a zipapp, if it can't be a > >> >> >proper point and click GUI thing, and it can't use any compiled > >> >> >extensions. How it is it better than a console_script and a > >> >> >pip-installed package?? > >> >> > > >> > It CAN be a proper point-and-click GUI thing. You can have a fully > >> > executable Python script if it has no dependencies (just distribute a > >> > single .py file with a shebang at the top), and if you can't do that, > >> > bundle it into a .pyz with zipapp and, again, put a shebang for posix > >> > platforms. Windows, if the py.exe launcher is installed, will happily > >> > let you double-click on a .py or .pyz and it'll run just fine. > >> > >> I think by "proper point-and-click GUI thing" he meant the app > >> itself > >> is a GUI app, not just "can be launched via the OS GUI". At least, that > >> is what I would mean by that, and that is what can't be done without C > >> extensions, because most GUI toolkits require C extensions. > >> > > > > Python ships with one GUI toolkit (Tkinter). If you can't install > > anything else, you at least get that. > > That's not even close to sufficient. > > I realize that we're diverging a bit from the original thread here, > but > basically my position on this is that what would be good is a full > solution.
Then I would suggest starting a new thread, because this one is specifically about something being added to the stdlib, and I honestly have no idea whether you're asking for such a full solution to be in the stdlib or not. I've always been arguing from the POV of a stdlib feature, not a third party tool. ChrisA _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/D2YR7IXBSNBZQPLRUTF2GFL6QRJV4J73/ Code of Conduct: http://python.org/psf/codeofconduct/