1 Mar
2010
1 Mar
'10
8:21 a.m.
Le Mon, 01 Mar 2010 09:09:09 +0100,
Baptiste Carvello
I did a quick check on the stdlib: a zip with .py and .pyc is about 80% bigger than one with .pyc only. If you use only the bytecode, this can be seen as waisted space. On the other hand, if you ever need to debug the application, source is very handy...
My point is that the wasted size compared to the total bundle size (with interpreter and 3rd party C libs) would probably be small.
Anyway, I'm a bit worried if bytecode-only is disabled from zipimport without some input from the developpers of py2exe/cx_freeze/etc, as they are big users of it.
Granted. Regards Antoine.