[Python-projects] setuptools patches for common, astng and pylint

Victor Stinner victor.stinner at haypocalc.com
Tue Aug 22 03:42:05 CEST 2006


Le mardi 22 août 2006 02:55, Victor Stinner a écrit :
> Hi,
>
> I wrote patched for logilab.common, logilab.astng, logilab.pylint for make
> them use setuptools in setup.py.

Oooops, I was so happy to see setup.py bdist_egg working, that I forget to try 
to run pylint... And it doesn't work :-(

  File "(...)/astng-0.16.0-py2.4.egg/logilab/astng/__init__.py", line 51, in ?
    from logilab.common.compat import chain, imap
ImportError: No module named common.compat

There is a problem with "logilab." module prefix: astng needs 
logilab.common.compat, but because of egg system (or something else?) python 
is unable to locate this module.

Haypo


More information about the Python-Projects mailing list