Hi Folks, What is the state of the art when it com...
# general
Hi Folks, What is the state of the art when it comes to packaging (fully contained) python applications to run on Windows? We would like to ship our app (which we package into a pex today) to end users on Windows. For Linux and Mac it looks like we can build a scie (with a pex bundled), what's the story on the windows side? Is there a mechanism like PyOxidizer where I can point to a distribution?
There is work in progress to support pex on windows, and I believe scie already does (or will shortly after that), but I don't have an ETA unfortunately
@polite-garden-50641, thank you! However, I think PyOxidizer is not great. It produces these sidecars (and forgive me for the loose use of this word) which are huge. I pointed it out here for Numpy: https://pantsbuild.slack.com/archives/C046T6T9U/p1677792637951899?thread_ts=1677705743.828699&cid=C046T6T9U
Thanks @happy-kitchen-89482! That would be great if scie already supports pex on windows. I haven't tried it and assumed it wont work as pex is not supported on windows. Any option outside the pex world but in the pants realm? PyInstaller worked but again was producing large deps.
The scie jump has supported Windows since its 1st public release in November 2022: https://github.com/a-scie/jump/releases/tag/v0.1.10 From that day on you could ship native Windows Python executables using scie-jump + Python Build Standalone + (for example) shiv. As soon as Pex gains Windows support, you can switch from shiv or handcrafted zips to Pex.
Thanks @enough-analyst-54434 ! Super helpful, shall give shiv a try then.