[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bytecode compilation



On Thu, Jul 25, 2002 at 01:05:27PM +0200, Martin Sjögren wrote:
> Hello.
> 
> I've read the draft python policy, and my packages follow it. There is,
> however, something that I think is missing. What's the policy on
> byte-compilation? Should there be both .pyc and .pyo files? Should the
> files be compiled in the postinst script or can they be distributed with
> the package?

My personal understanding is that it is not necessary to distribute the 
.pyc and .pyo, because this would only make the package larger. Their
creation is dealt with in the postinst script. Grap any python package
source package and check the postinst script, which generally does the
compiling.

Alexandre Fayolle
-- 
LOGILAB, Paris (France).
http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org
Narval, the first software agent available as free software (GPL).


-- 
To UNSUBSCRIBE, email to debian-python-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: