[Python-modules-team] Why to bytecompile packages before distribution?

Piotr Ożarowski piotr at debian.org
Tue Aug 4 21:16:37 UTC 2009


[anatoly techtonik, 2009-07-28]
> Debian Python page in wiki sounds like Python code should be compiled
> in bytecode to be executed and because there can be several Python
> versions we need to bytecompile packages for each of them.
> http://wiki.debian.org/DebianPython?action=recall&rev=11
> Why Python packages are required to be bytecompiled before redistribution?

why revision 11?

anyway, we byte compile Python modules at *install time*, not at build
time. Python extensions are compiled at build time.

> Why can't they be distributed in pure python form and bytecompiled on arrival?

that's what we do right now
-- 
-=[     Piotr Ożarowski     ]=-
-=[ http://www.ozarowski.pl ]=-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20090804/41f54356/attachment.pgp>


More information about the Python-modules-team mailing list