logilab/common
view README.Python3 @ 1465:9a63ee5061b0
fix license in README
| author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
|---|---|
| date | Wed, 18 Jan 2012 14:31:10 +0100 |
| parents | c47f75bb8801 |
| children |
line source
1 Python3
2 =======
4 Approach
5 --------
7 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::
12 python3 setup.py install
14 Tests
15 -----
17 Set your PYTHONPATH and run pytest3 against the test directory.
19 Debian
20 ------
22 For the Debian packaging of python3-logilab-common, you can use the debian.sid/
23 content against the debian/ folder::
25 cp debian.sid/* debian/
27 Resources
28 ---------
29 http://wiki.python.org/moin/PortingPythonToPy3k
