Transition to dh_python2

Rationale: The two traditionally popular Python helpers, python-support and python-central have both been deprecated in favor of dh_python2. This page explains how to convert your existing pycentral or pysupport packages to dh_python2.

Common recommendations

Special cases

Helpful hints


Bug and Status Tracking


Packages which build-depend on python-central and python-support



(1) This is because of the way namespace packages files are handled. Until PEP 382 or 402 lands (which won't help Python 2 at all), you have package collisions for namespace files. Each Python packaging regime has its own way of handling this and you don't want conflicting regimes or you're just asking for trouble. Thus all packages which share a namespace must use the same Python helper.