4 ms·
I'd be interested to learn what the motivation to create this was, when PyInstaller [1] already solves this (hard) problem in a fair way. 1: https://www.pyinst
by mherrmann 7y ago
I'd be interested to learn what the motivation to create this was, when PyInstaller [1] already solves this (hard) problem in a fair way.
1: https://www.pyinstaller.org https://www.pyinstaller.org
- mehrdadn 7y agoIt probably requires unpacking files onto the disk every single time? At least that's what I remember of every tool I checked out a while ago.
- mherrmann 7y agoI think PyInstaller does, yes, if you use single file mode. The default mode simply uses an exploded directory. Not pretty, but really not a problem in practice.
- mehrdadn 7y agoHow is this not a problem in practice? So much write I/O into a temp directory is slow and error-prone, and also you can't guarantee cleanup in case the process quits abnormally. And it's not like the average user will be fond of downloading and unzipping things manually. I know I absolutely loathe programs that self-extract files on a regular basis, and judging from the pains people went through to avoid it here I don't think I'm alone.
- mherrmann 7y agoI meant the exploded directory is not a problem. And the answer to unzipping is an installer.
- sametmax 7y agoI tried pyinstaller, and never managed to make it work for my projects. Some libs are dynamically linked so it may cause problems. Nuitka worked immediatly, but still dynamamically links libc and doesn't allow this nice rust/python interraction nor the possibility of future cross compilation.
- T-A 7y agohttps://pyoxidizer.readthedocs.io/en/latest/comparisons.html#pyinstaller https://pyoxidizer.readthedocs.io/en/latest/comparisons.html...