PyInstaller and UPX on Linux - No change in file size with or without UPX #6275
|
I am trying to use PyInstaller and UPX to bundle a flask application on Ubuntu. When I run: pyinstaller app.py --onefile --cleanthe logs show that UPX is available: 297 INFO: UPX is available.However, in the entire log file, there doesn't seem to be a single instance of PyInstaller calling UPX. Consequently, the file size remains same irrespective of whether UPX is installed or not. I did not face this issue on Windows with the same command as above. The docs say:
Clearly I don't need to specify |
Replies: 1 comment 9 replies
|
You're right, UPX is actually used only on Windows. See #5966. |

You're right, UPX is actually used only on Windows. See #5966.