File: README.Python3

package info (click to toggle)
logilab-common 0.62.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,172 kB
  • ctags: 2,176
  • sloc: python: 11,681; makefile: 63
file content (29 lines) | stat: -rw-r--r-- 573 bytes parent folder | download | duplicates (3)
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
27
28
29
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

Tests
-----

Set your PYTHONPATH and run pytest3 against the test directory.

Debian
------

For the Debian packaging of python3-logilab-common, you can use the debian.sid/
content against the debian/ folder::

  cp debian.sid/* debian/

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