dh_python2 --version (return code: 0)
W: dh_python2:479: Please add dh-python package to Build-Depends
dh_python2 2.1
dh_python2 --help (return code: 0)
W: dh_python2:479: Please add dh-python package to Build-Depends
Usage: dh_python2 -p PACKAGE [-V [X.Y][-][A.B]] DIR [-X REGEXPR]
Options:
--version show program's version number and exit
-h, --help show this help message and exit
--no-guessing-versions
disable guessing other supported Python versions
--no-guessing-deps disable guessing dependencies
--skip-private don't check private directories
-v, --verbose turn verbose mode on
-i, --indep act on architecture independent packages
-a, -s, --arch act on architecture dependent packages
-q, --quiet be quiet
-p PACKAGE, --package=PACKAGE
act on the package named PACKAGE
-N NO_PACKAGE, --no-package=NO_PACKAGE
do not act on the specified package
--compile-all compile all files from given private directory in
postinst, not just the ones provided by the package
-V VRANGE specify list of supported Python versions. See
pycompile(1) for examples
-X REGEXPR, --exclude=REGEXPR
exclude items that match given REGEXPR. You may use
this option multiple times to build up a list of
things to exclude.
--depends=DEPENDS translate given requirements into Debian dependencies
and add them to ${python:Depends}. Use it for missing
items in requires.txt.
--recommends=RECOMMENDS
translate given requirements into Debian dependencies
and add them to ${python:Recommends}
--suggests=SUGGESTS translate given requirements into Debian dependencies
and add them to ${python:Suggests}
--namespace=NAMESPACES
recreate __init__.py files for given namespaces at
install time
--clean-pycentral generate maintainer script that will remove pycentral
files
--shebang=SHEBANG use given command as shebang in scripts
--ignore-shebangs do not translate shebangs into Debian dependencies
--ignore-namespace ignore Egg's namespace_packages.txt file and
--namespace option
--no-dbg-cleaning do not remove files from debug packages
--no-shebang-rewrite do not rewrite shebangs