[Python-projects] Pylint Installation

Sylvain Thénault sylvain.thenault at logilab.fr
Fri Jan 16 09:26:51 CET 2009


Le Thursday 15 January 2009 21:12:41 Tom Crawley, vous avez écrit :
> Hi,

Hi,

> Is the correct email address for Pylint related issues ?

it is :)

> I cannot get pylint to work.
> I get the following error:
>
> Traceback (most recent call last):
[snip]
> "/usr/local/lib/python2.5/site-packages/logilab_common-0.37.1-py2.5.egg/log
>ilab/common/configuration.py", line 700, in set_option raise
> UnsupportedAction(action)
> logilab.common.configuration.UnsupportedAction: callback

I'll take a look at this if you can send me the pylintrc file causing this 
crash as seen in another mail.

> Pylint is a great tool but it is extremely frustrating to use because of
> installation problems etc.

well, we're using debian so we've no installation problems. Have you tried 
Tarek Ziade installer, which makes pylint installable using easy_install ?

> I sent an email discussing the use of namespace package etc but this seems
> to have been ignored.

huum, sorry I've probably missed it.

> The line:
>
> __import__('pkg_resources').declare_namespace(__name__)
>
> must be added to the setup.py files for the logilab package __init__.py in
> astng and commons distributions.

huum, it's unclear to me why this should be added... Could you tell us more 
about what this would fix ?

> Does anyone have any idea what is causing this problem ?

You're talking about the pylintrc pb, right?

-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian:  http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
Python et calcul scientifique:           http://www.logilab.fr/science


More information about the Python-Projects mailing list