summaryrefslogtreecommitdiff
path: root/README.Python3
blob: 55ea159c470f75dd9906a72ee02ec00345b9ad95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Python3
=======

Approach
--------

We maintain a Python 2 base and use 2to3 to generate Python 3 code.

2to3 is integrated into the distutils installation process and will be run as a
build step when invoked by the python3 interpreter::

  python3 setup.py install --no-compile


Debian
------

For the Debian packaging, you can use the debian.py3k/ content against
the debian/ folder::

  cp debian.py3k/* debian/


Resources
---------
http://wiki.python.org/moin/PortingPythonToPy3k