Have you tried using UPX? https://pyinstaller.readthedocs.io/en/stable/usage.html#using-upx
On Tuesday, December 29, 2020 at 12:56:09 AM UTC-8 [email protected] wrote: > Even for a very simple python code, PyInstaller adds a lot of extra files. > Is there a recommended way to remove some of this to make the app smaller? > For example, a Python code with just one line: > > print('Hello world.') > > The app package is 13.5 MB on macOS, or 5.9MB in one-file mode. Some of > the largest files in the package are: > libcrypto.1.1.dylib 2.8M > unicodedata.cpython-37m-darwin.so 1.1M > libssl.1.1.dylib 556K > libncursesw.5.dylib 433K > > -- 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/ca8c5c36-9acb-40c8-b2e4-2afddb11538en%40googlegroups.com.
