Okay, good idea. That does sound like a lot of work though, probably not
worth it for me. I'm just curious.
For what it's worth, UPX makes no difference on a onedir build either. See
below, it's exactly the same bytes. Is there some way to see if UPX is
actually working?
% echo "print('Hello world.')" > helloworld.py
% pyinstaller --noupx helloworld.py
% du -d 1 dist
26528 dist/helloworld
26528 dist
% rm -rf dist build
% pyinstaller helloworld.py
% du -d 1 dist
26528 dist/helloworld
26528 dist
On Tuesday, April 6, 2021 at 8:37:04 AM UTC-7 bwoodsend wrote:
> UPX is great for onedir builds but both UPX and onefile use zlib
> compression so using both simultaneously won’t accomplish anything. The
> OpenSSL stuff (libcrypto and libssl) are optional
> <https://devguide.python.org/setup/#unix> components of Python so if you
> were really determined you could compile Python itself from source with
> those components disabled then run PyInstaller but it’ll be a lot of work.
>
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/pyinstaller/f714229e-207b-47e5-bdc6-e4aa47bf02bfn%40googlegroups.com.