pygame and py2app : big package

TerryP bigboss1964 at
Sun Sep 20 17:51:45 CEST 2009

Pierre-Alain Dorange wrote:
> Sorry, it was not clear.
> But i want to know if i can make the package smaller, because the total
> package weight 59.4 MB just for a small arcade game.

You would need to skip or strip out any unneeded components that are
being packed. Either by playing with how py2app sucks them up (I don't
use py2app) or by post processing the file it produces in order to
remove them. (I'm not familiar with OSX beyond the unix portions.)

On my laptop, the entire standard libraries .py/.pyc/.pyo files is
about 54M.

More information about the Python-list mailing list