[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:
> 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?

The tradeoff decision between postinst compilation (consumes CPU) and .pyc,
.pyo inclusion (consumes HD space) is up to you.
I prefer postinst compilation.

So long,
-- 
  .~.
  /V\     Bastian Kleineidam  ·  Unleash the power. Use Linux.
 /( )\
 ^^-^^

Attachment: pgpkFZQWpVHkB.pgp
Description: PGP signature


Reply to: