Scroll to navigation

PKGOS-DH_AUTO_INSTALL(1) Debian OpenStack packaging PKGOS-DH_AUTO_INSTALL(1)

NAME

pkgos-dh_auto_install - install a Python OpenStack package for every supported Python 3 version

SYNOPSIS

pkgos-dh_auto_install [--in-tmp] [--no-py3] [--no-py2]

DESCRIPTION

pkgos-dh_auto_install runs pythonX.Y setup.py install --install-layout=deb --root <target> for every supported Python 3 version, where <target> is debian/python3-<module-name> by default (the module name is the source package name with the leading "python-" stripped), or debian/tmp if --in-tmp is used. It then removes the *.pth files that this install produces. It is meant to be called from the override_dh_auto_install target of debian/rules of a Debian OpenStack package, from the root of the package source tree.

OPTIONS

Install into debian/tmp instead of debian/python3-<module-name>, which is what pkgos makes use when building multiple binary packages.
Deprecated, and always off.
Deprecated, and always on (ie: only Python 3 is built).

ENVIRONMENT

If set, it overrides the list of Python 3 versions to install with, normally obtained through py3versions(1).

EXAMPLES

SEE ALSO

pkgos-dh_auto_test(1), py3versions(1).

AUTHOR

This script and its man page: (c) 2026, Thomas Goirand <zigo@debian.org>, released under the Apache-2.0 license.

23 September 2026 openstack-pkg-tools