> * Arfrever Frehtes Taifersar Arahesis <[email protected]> [06-déc.-2010 
> 04:07]:
> 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},
>       ...)

This technique is not appropriate (yet) because Pylint uses a bunch of
"unparsable" test files that will fail the build step.

We investigate on it¹ in order to find a cleaner solution to be able to
use the builder_py class directly.

Patches welcome f you want :-)


Regards,
¹ http://www.logilab.org/ticket/51251
-- 
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
_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to