On Monday 06 December 2010 04:09:29 Arfrever Frehtes Taifersar Arahesis 
wrote:
> 2010-11-16 11:53:47 Emile Anclin napisaƂ(a):
> > Python3 support
> > ---------------
> > 
> > However, the Python3.x support should be considered as an alpha
> > release, since we know that some of the tests don't pass.
> > 
> > If you install logilab-common, logilab-astng and pylint from source,
> > you
> > 
> > also have to run the 2to3 script by yourself::
> >    find . ! -path "*/test/*py" -name "*py" -exec 2to3-3.1 -wn {} \;
> 
> You could use distutils.command.build_py.build_py_2to3 in setup.py:
> 
> try:
>   # Python 3
>   from distutils.command.build_py import build_py_2to3 as build_py
> except ImportError:
>   # Python 2
>   from distutils.command.build_py import build_py
> 
> ...
> 
> setup(...,
>       cmdclass = {"build_py": build_py},
>       ...)

thanks a lot for your suggestion; Julien Jehannet found that solution too, 
but the problem for pylint is our corrupted test files :

https://www.logilab.org/ticket/51251


-- 

Emile Anclin <[email protected]>
http://www.logilab.fr/   http://www.logilab.org/ 
Informatique scientifique & et gestion de connaissances
_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to