dh_pysupport - use the python-support framework to handle Python modules
dh_pysupport [debhelper options] [-V X.Y] [-X item [...]] [-n] [module dirs ...]
dh_pysupport is a debhelper program that will scan your package, detect public modules in /usr/share/python-support and generate appropriate postinst/prerm scripts to byte-compile modules installed there for all available python versions.
It will also look for private Python modules and will byte-compile them with the current Python version. You may have to list the directories containing private Python modules.
If a file named debian/pyversions exists, it is installed in /usr/share/python-support/$PACKAGE/.version.
Appropriate dependencies on python-support, python and pythonX.Y are put in ${python:Depends}. The ${python:Versions} and ${python:Provides} optional substitution variables are made available as well.
Python policy as of 2006-08-10
This program is a part of python-support but is made to work with debhelper.
Josselin Mouette <joss@debian.org>, Raphael Hertzog <hertzog@debian.org>