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},
      ...)
-- 
Arfrever Frehtes Taifersar Arahesis

Attachment: signature.asc
Description: This is a digitally signed message part.

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

Reply via email to