[Python-projects] Fwd: Re: Pylint Installation

Sylvain Thénault sylvain.thenault at logilab.fr
Wed Jan 21 10:40:52 CET 2009


Le Tuesday 20 January 2009 18:44:04 Tom Crawley, vous avez écrit :
> Hi Sylvain,

Hi

> I have attached the pylintrc which is just a copy of the .pylintrc file
> which is used to configure pylint

Thanks. I've checked in a fix in pylint to avoid crash in case where an 
unsupported option is found in the configuration file, and another in 
logilab-common to support callback option such as init-hooks (which was 
causing the crash in your case) in set_option.

> I don't know whether you are using distutils or setuptools to construct the
> tar.gz archives which you distribute for astng and commons and I don't know
> whether using easy_install to install the archives is correct but this may
> be causing the problem.
>
> The issue relates to 'Namespace Packages'. Namespace packages are empty
> packages which contain other packages. Several software distributions may
> use the same Namespace package. 'logilab' is the namespace package for
> astng and commons. See the following:

[snip]

interesting. We were not using setuptools until now since we weren't aware 
about this namespace package ability. Thanks to the pointer you gave I've 
checked in setuptools support in logilab subpackages and in pylint so it 
should be easy_installable after the next version is released!

-- 
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