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

Property Value
Distribution Ubuntu 16.04 LTS (Xenial Xerus)
Repository Ubuntu Main amd64
Package name dh-python
Package version 2.20151103ubuntu1
Package architecture all
Package type deb
Installed size 358 B
Download size 72.63 KB
Official Mirror archive.ubuntu.com
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.1_all.deb 2.20151103ubuntu1.1 all Ubuntu Updates Main
dh-python_2.20151103ubuntu1.1_all.deb 2.20151103ubuntu1.1 all Ubuntu Updates 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
Binary Package dh-python_2.20151103ubuntu1_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




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.
2015-06-28 - Stefano Rivera <stefanor@debian.org>
dh-python (1.20150628-1) unstable; urgency=medium
* Fix path handling when --ext-dest-dir is used. Some characters were being
stripped from the beginning of the path.
* Re-apply Multi-Arch change.
* Remove XS-Testsuite control field, no longer necessary.
* Sort namespace files, for reproducibility. Thanks to Chris Lamb for the
patch. (closes: 777134)

See Also

Package Description
dh-strip-nondeterminism_0.015-1_all.deb debhelper add-on to strip non-determinism from files
dh-translations_129_all.deb debhelper extension for translation support
dict-foldoc_20150318-1_all.deb FOLDOC dictionary database
dict-gcide_0.48.1_all.deb Comprehensive English Dictionary
dict-jargon_4.4.7-2ubuntu1_all.deb dict package for The Jargon Lexicon
dict-moby-thesaurus_1.0-6.3~fakesync1_all.deb Largest and most comprehensive thesaurus
dict-vera_1.22-1_all.deb Dictionary of computer related acronyms -- dict format
dict_1.12.1+dfsg-3_amd64.deb dictionary client
dictd_1.12.1+dfsg-3_amd64.deb dictionary server
dictionaries-common-dev_1.26.3_all.deb spelling dictionaries - developer files
dictionaries-common_1.26.3_all.deb spelling dictionaries - common utilities
dictzip_1.12.1+dfsg-3_amd64.deb compression utility for dictionary databases
diffstat_1.61-1_amd64.deb produces graph of changes introduced by a diff file
diffutils-doc_3.3-3_all.deb Documentation for GNU diffutils in HTML format
diffutils_3.3-3_amd64.deb File comparison utilities