Re: bytecompilation and default python version

2006-02-21 Thread Matthias Klose
Alexandre Fayolle writes: > Hello, > > I have two small questions regarding byte-compiling python modules in the > maintainer scripts of python library packages. > > 1. If a package installs modules under /usr/lib/site-python, should the > postins script produce .pyc files ? .pyo files ? yes.

Re: python2.3/python2.4/python packages

2006-02-21 Thread Donovan Baarda
On Mon, 2006-02-20 at 20:37 +0100, Matthias Klose wrote: > Donovan Baarda writes: [...] > > In the mean time, another alternative is to point your apt/sources.list > > at an Ubuntu archive and see if you can upgrade python from there... > > ugh, I would not try that ... you cannot differentiate be

bytecompilation and default python version

2006-02-21 Thread Alexandre Fayolle
Hello, I have two small questions regarding byte-compiling python modules in the maintainer scripts of python library packages. 1. If a package installs modules under /usr/lib/site-python, should the postins script produce .pyc files ? .pyo files ? 2. If the answer to 1. is 'yes', the current c