dh-python - Debian helper tools for packaging Python libraries and applications

Property Value
Distribution Ubuntu 16.04 LTS (Xenial Xerus)
Repository Ubuntu Updates Main i386
Package filename dh-python_2.20151103ubuntu1.2_all.deb
Package name dh-python
Package version 2.20151103ubuntu1.2
Package release -
Package architecture all
Package type deb
Category python
Homepage -
License -
Maintainer Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Download size 72.21 KB
Installed size 359.00 KB
This package contains:
* pybuild - invokes various build systems for requested Python versions in
order to build modules and extensions
* dh_python2 - calculates Python 2.X dependencies for Debian packages,
adds maintainer scripts to byte compile files, etc.
* dh_python3 - calculates Python 3.X dependencies for Debian packages,
adds maintainer scripts to byte compile files, etc.
* dh_pypy - calculates PyPy dependencies for Debian packages,
adds maintainer scripts to byte compile files, etc.


Package Version Architecture Repository
dh-python_2.20151103ubuntu1.2_all.deb 2.20151103ubuntu1.2 all Ubuntu Updates Main
dh-python_2.20151103ubuntu1_all.deb 2.20151103ubuntu1 all Ubuntu Main
dh-python_2.20151103ubuntu1_all.deb 2.20151103ubuntu1 all Ubuntu Main
dh-python - - -


Name Value
python3:any >= 3.3.2-2~


Name Value
python3 << 3.3.2-4~


Type URL
Mirror archive.ubuntu.com
Binary Package dh-python_2.20151103ubuntu1.2_all.deb
Source Package dh-python

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install dh-python deb package:
    # sudo apt-get install dh-python




2019-08-15 - Steve Beattie <sbeattie@ubuntu.com>
dh-python (2.20151103ubuntu1.2) xenial-security; urgency=medium
* No change rebuild to get fixed dh-python into xenial-security.
2016-05-12 - James Page <james.page@ubuntu.com>
dh-python (2.20151103ubuntu1.1) xenial; urgency=medium
* dhpython/pydist.py: Ensure that != dependency versions are ignored
(LP: #1581065).
2015-11-04 - Stefano Rivera <stefanor@debian.org>
dh-python (2.20151103ubuntu1) xenial; urgency=medium
* Merge from unstable. Remaining changes:
- Add python3.5 as a supported python version.
2015-11-03 - Piotr Ożarowski <piotr@debian.org>
dh-python (2.20151103) unstable; urgency=medium
* dh_py*:
- remove lines from requires.txt already translated into Debian
- remove SOURCES.txt from egg-info directories (closes: 802882)
* dh_pypy: generate pypy-abi-foo dependencies for PyPy extensions
(closes: 803689)
* pybuild:
- build default interpreter version last (in case previous build
results are overwritten, like in distutils build system)
- remove (just before install stage) egg-info dirs generated in build_dir
during test stage (closes: 803242)
* Move libdpkg-perl from Depends to Suggests. python3 still depends on
dh-python and we don't want to pull Perl when python3 is intalled
(libdpkg-perl is pulled in by debhelper anyway) 
* Add README.rst file
2015-09-14 - Matthias Klose <doko@ubuntu.com>
dh-python (2.20150826ubuntu1) wily; urgency=medium
* Add python3.5 as a supported python version.
2015-08-26 - Piotr Ożarowski <piotr@debian.org>
dh-python (2.20150826) unstable; urgency=medium
* Remove '--with-doctest' from nose call, closes: 749506
to re-enable it: export PYBUILD_TEST_ARGS=--with-doctest
* Build-Depends based test suite detection is used only if PYBUILD_TEST_FOO
is not set to 1
* dh_python2: do not try to move files to pyshared if package doesn't
provide public modules (f.e. due to interpreter version no longer
supported or installed), closes: 793148
2015-07-28 - Piotr Ożarowski <piotr@debian.org>
dh-python (2.20150728) unstable; urgency=medium
* dh_python3: fix module renaming in Python >= 3.5 (SOABI now includes
MULTIARCH triplet)
* pybuild.pm: 
- fix parsing Build-Depends with comments (closes: 793609, thanks to James
McCoy for the patch) - new build/runtime dependency: libdpkg-perl
- enable --test-{nose,pytest,tox} if appropriate build dependency is set
* pybuild:
- allow localhost connections (via no_proxy=localhost, thanks to
Dimitri John Ledkov)
- do not forward empty http{,s}_proxy env. vars - some tools do not like it
* dh_python{2,3} and dh_pypy: skip packages with private modules that 
do not have apropriate ${*:Depends} substvar in Depends
(-p/-N in debian/rules to select the right package is no longer needed,
now you can select the right tool by adding substvar)
* generate_fallback_list.py: add support for --ubuntu (requires
python3-distro-info package, thanks to James Page for original patch,
closes LP: #1422433)
2015-07-19 - Piotr Ożarowski <piotr@debian.org>
dh-python (2.20150719) unstable; urgency=medium
* Update dist_fallback files
* Converted to native package and bumped version number to 2.*
* dh_python{2,3}:
- remove empty directories (closes: 761028)
- remove "test" and "tests" directories from dist-packages/
(packages should ship tests in /usr/share/ or under thier own namespace)
* Make private dir autoscript snippets output in a determinstic order
(closes: 792436, thanks to Chris Lamb for the patch)
* Clarify purpose of .pydist files (closes: 778633, thanks to Nikolaus Rath
for the patch)
* Remove "module" from extension file names also in Python 2.7
2015-07-05 - Stefano Rivera <stefanor@debian.org>
dh-python (1.20150705-1) unstable; urgency=medium
* Support requires.txt in PyPy packages.
* Add unit tests for bugs fixed in this and the previous upload.

See Also

Package Description
dirmngr_2.1.11-6ubuntu2.1_i386.deb server for managing certificate revocation lists
distro-info-data_0.28ubuntu0.13_all.deb information about the distributions' releases (data files)
distro-info_0.14ubuntu0.1_i386.deb provides information about the distributions' releases
dkms_2.2.0.3-2ubuntu11.8_all.deb Dynamic Kernel Module Support Framework
dmidecode_3.0-2ubuntu0.2_i386.deb SMBIOS/DMI table decoder
dns-root-data_2018013001~16.04.1_all.deb DNS root data including root zone and DNSSEC key
dnsmasq-base_2.75-1ubuntu0.16.04.5_i386.deb Small caching DNS proxy and DHCP/TFTP server
dnsmasq-utils_2.75-1ubuntu0.16.04.5_i386.deb Utilities for manipulating DHCP leases
dnsutils_9.10.3.dfsg.P4-8ubuntu1.15_i386.deb Clients provided with BIND
dosfstools_3.0.28-2ubuntu0.1_i386.deb utilities for making and checking MS-DOS FAT filesystems
dovecot-core_2.2.22-1ubuntu2.12_i386.deb secure POP3/IMAP server - core files
dovecot-dev_2.2.22-1ubuntu2.12_i386.deb secure POP3/IMAP server - header files
dovecot-imapd_2.2.22-1ubuntu2.12_i386.deb secure POP3/IMAP server - IMAP daemon
dovecot-managesieved_2.2.22-1ubuntu2.12_i386.deb secure POP3/IMAP server - ManageSieve server
dovecot-pop3d_2.2.22-1ubuntu2.12_i386.deb secure POP3/IMAP server - POP3 daemon