README.Python3 711 B

12345678910111213141516171819202122232425262728293031323334353637
  1. Python3
  2. =======
  3. Compatibility
  4. -------------
  5. Please, consider python3 >= 3.2 only.
  6. Approach
  7. --------
  8. We maintain a Python 2 base and use 2to3 to generate Python 3 code.
  9. 2to3 is integrated into the distutils installation process and will be run as a
  10. build step when invoked by the python3 interpreter::
  11. NO_SETUPTOOLS=1 python3 setup.py install --no-compile
  12. In order to run pylint locally, you have to install the dependencies::
  13. easy_install-3.2 logilab-common
  14. easy_install-3.2 logilab-astng
  15. Debian
  16. ------
  17. For the Debian packaging, you can use the debian.py3k/ content against
  18. the debian/ folder::
  19. cp debian.py3k/* debian/
  20. Resources
  21. ---------
  22. http://wiki.python.org/moin/PortingPythonToPy3k