from
Sylvain Thénault <thenault at nerim dot net>
to
wrobell <wrobell at ite dot pl>
cc
Sylvain Thenault <syt at logilab dot fr>
subject
Re: logilab common and pylint
date
On Saturday 04 October à 13:25, wrobell wrote:2003/10/04 16:51
> On Sat, Oct 04, 2003 at 11:22:30AM +0200, Sylvain Thénault wrote:
> > On Saturday 04 October ? 02:51, wrobell wrote:
> > > in previous post, i've written:
> > > > btw. there is no __init__.py in /usr/share/python2.3/site-packages/logilab
> > > > directory after package installation. i think it should be installed
> > > > by logilab common package.
> > >
> > > it seems, that pylint 0.2 installs __init__.py in
> > > /usr/share/python2.3/site-packages/logilab directory, but
> > > __init__.py is not byte compiled[1].
> > >
> > > imho, __init__.py should be installed in the directory by the logilab's
> > > _common_ package (it should be byte compiled, as other modules, too)
> > >
> > > sorry, no patch (i am not familiar with distutils)
> > >
> > > wrobell <wrobell@ite.pl>
> > >
> > > [1] i am removing all *.py files and leaving only *.pyc and *.pyo
> > > on my machine
> >
> > actually all subpackage of "logilab" are trying to install this file
> > (not all depends on common). I'll try to patch there setup.py to compile
> > it.
> so, it is a problem for distros. the packages (i.e. rpm packages)
> will conflict with each other.
That should be solved at in the rpm. We provide debian packages which
solve that by removing this file and only adding it in the post
installation script (but we'll probably latter move to a cleaner
solution where the logilab/__init__.py is provided by a dummy package,
with all others depending on it).
> (btw. take a look into ftp://ftp.nest.pld-linux.org/test, there are
> pylint and python-logilab-common rpm packages :-])
great ! I'll add this to the documentation.
--
Sylvain Thénault

