Re:Introducing PyScript (summary of PyCon keynote)
by throwaway894345 on Wednesday June 22, 2022 @11:28PM
(#31844889)
Interestingly this detail may be wrong, but the status quo is much worse. Packaging Python applications is enormously painful, and they often fail to install (or worse, a runtime error) if you’re not on a mainstream distro. And then there is the performance…
[ Parent
| on HN ]
Re:Introducing PyScript (summary of PyCon keynote)
by formerly_proven on Thursday June 23, 2022 @01:52AM
(#31845597)
This is the general issue of distributing dynamically linked binaries on Linux and not really due to Python itself.
On Windows you can generate a folder with a bunch of files in it along an .exe that starts your app pretty easily and that'll work in most places just fine and is not excessively large, either.
Re:Introducing PyScript (summary of PyCon keynote)
by hiccuphippo on Thursday June 23, 2022 @12:29AM
(#31845160)
Pipx might be the easiest way to get your application running on any platform that can run Python without caring about distro/OS specific packaging. And if you don't want to push your package to pypi, you can install with pipx directly from a git repo.