> * Piotr Dobrogost <[email protected]> [27-juil.-2011 16:50]:
> I tried installing pylint 0.24.0 on Python 3.2.1 (in virtualenv) and got this:
> 
> Running setup.py egg_info for package unittest2 Traceback (most recent call
> last): File "<string>", line 14, in <module> File
> "c:\python\virtualenv\pylint-py3.2\build\unittest2\setup.py", line 12, in
> <module> from unittest2 import __version__ as VERSION File
> "unittest2\__init__.py", line 40, in <module> from unittest2.collector import
> collector File "unittest2\collector.py", line 3, in <module> from
> unittest2.loader import defaultTestLoader File "unittest2\loader.py", line 92
> except Exception, e: 

I suppose a bug in the logilab-common's __pkginfo__.py file
Try to comment this line before rerunning:

        --- a/__pkginfo__.py
        +++ b/__pkginfo__.py
        @@ -37,6 +37,6 @@ author_email = "[email protected]"
         
         from os.path import join
         scripts = [join('bin', 'pytest')]
         include_dirs = [join('test', 'data')]
         
        -install_requires = ['unittest2 >= 0.5.1']
        +#install_requires = ['unittest2 >= 0.5.1']

> Although there is a version of unittest2 for Python 3
> (http://pypi.python.org/pypi/unittest2py3k) I think logilab-common (needed by
> pylint) should use std unittest from Python 3 (which unittest2 is a backport 
> of).
Humm, bad smell here how unittest2 backport seems to be compatible with
the original inspiration...
And of course, we have to stick to the stdlib version with python >= 3.2.
-- 
Julien JEHANNET                                          LOGILAB, Paris (France)
http://www.cubicweb.org                 CubicWeb, le cadriciel du web sémantique
http://www.logilab.org             Dépôt des logiciels libres conçus par Logilab
http://www.logilab.fr       Informatique scientifique & Gestion de connaissances

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to