Re:Python 3 Is Winning Library Developer Support
by jestar_jokin on Tuesday March 08, 2016 @06:10PM
(#11249532)
I've found, building Python binaries for Windows, the interpreter and standard library takes up a negligible amount of space (a few MB). Most of the space was taken up by dependencies anyway, e.g. wxPython something like 15 MB! (I think I got it down to 7 MB using UPX to compress the DLLs.)
[ Parent
| on HN ]
Re:Python 3 Is Winning Library Developer Support
by plq on Tuesday March 08, 2016 @09:47PM
(#11250533)
UPX is not magic -- it compresses machine code and makes sure unpacking code is run every time the executable is loaded. So if you only care about the size of the binaries in transit, don't use UPX, just use eg NSIS with lzma compression. You'll probably end up with a smaller package this way.
Re:Python 3 Is Winning Library Developer Support
by nibnib on Wednesday March 09, 2016 @03:11AM
(#11251618)
I agree, but UPX is magic.
Re:Python 3 Is Winning Library Developer Support
by ionelm on Thursday March 10, 2016 @07:41AM
(#11258815)
Speaking of that, there's a nice tool to build the installer for you: http://pynsist.readthedocs.org/en/latest/