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

Re: Request for help to convert the lyx package



Le mer 2 août 2006 20:09, Iustin Pop a écrit :
> On Wed, Aug 02, 2006 at 08:02:05PM +0200, Pierre Habouzit wrote:
> > Le mer 2 août 2006 19:51, Iustin Pop a écrit :
> > > On Wed, Aug 02, 2006 at 07:42:40PM +0200, Pierre Habouzit wrote:
> > > > and the pyo and pyc files are generated by your build process.
> > > > you have to remove them manually, e.g. using some find -name
> > > > '*.pyo' mantra.
> > >
> > > The (old) dh_python did remove the .pyc and .pyo files at package
> > > build time, so one did not have to bother with their removal. Are
> > > the new fancy tools not doing this (asks a developer still not
> > > up-to-date with the new python policy)?
> >
> > looking at dh_python source, bumping PYCOMPAT to 2 does not changes
> > that part of its behaviour.
> >
> > though, even for the lyx-common in the archive there is .pyo/.pyc
> > in /usr/share/lyx/lyx2lyx/ (wich in itself is quite bad).
>
> Ah, then that must be it - it must be invoked as:
>   dh_python /usr/share/lyx/lyx2lyx
> in order for it to scan other dirs and generate the correct
> postinstall/prerm.

well actually, with pycompat to 2, it does not generates the pre/postrm. 
pycentral/support do takes care of that part.
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachment: pgpopUP0xbyYU.pgp
Description: PGP signature


Reply to: