On 11 June 2013 20:58, Vincent Bernat <ber...@debian.org> wrote: > - dh_auto_build has to be overrided to also call each supported Python > 3 version "python setup.py build". > - dh_auto_install has to be overrided for the same reason. > - Ditto for dh_auto_clean. > - python-XXXX.install and python3-XXXX.install needs to be defined. >
This should be somewhat easier using the new pybuild system. Piotr described it as: "with pybuild in unstable it should be a lot easier to add python3-foo packages (just add binary package in debian/control, build depend on python3-all-dev, use --buildsystem=pybuild in debian/rules and add some .install files / export PYBUILD_DESTDIR_python{2,3})" http://lists.debian.org/debian-python/2013/05/msg00017.html Thomas