I am not sure if I misunderstand something or if the documentation is inconsistent.You indeed should use dh_python3, this is normally done by passing "--with python3" to dh(1).
The PythonPolicy
https://www.debian.org/doc/packaging-manuals/python-policy/
tells me that dh_python should be the preferred tool for packaging (https://www.debian.org/doc/packaging-manuals/python-policy/#versions)
But the LibraryStyleGuidepybuild is a build system, it's used to make actual setup.py calls. You
https://wiki.debian.org/Python/LibraryStyleGuide
tells me it is pybuild (https://wiki.debian.org/Python/LibraryStyleGuide#Overview).
And the DPT policy https://salsa.debian.org/python-team/tools/python-modules/-/blob/master/policy.rstgbp is not Python-specific and, strictly speaking, is not a part of Debian packaging, but a tool to store Debian source paclages in git.
tells me something about git-buildpackage and gbp.
I am not sure if I misunderstand something or if the documentation is inconsistent.
The PythonPolicy
https://www.debian.org/doc/packaging-manuals/python-policy/
tells me that dh_python should be the preferred tool for packaging (https://www.debian.org/doc/packaging-manuals/python-policy/#versions)
But the LibraryStyleGuide
https://wiki.debian.org/Python/LibraryStyleGuide
tells me it is pybuild (https://wiki.debian.org/Python/LibraryStyleGuide#Overview).
And the DPT policy https://salsa.debian.org/python-team/tools/python-modules/-/blob/master/policy.rst
tells me something about git-buildpackage and gbp.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 349 |
Nodes: | 16 (2 / 14) |
Uptime: | 116:25:58 |
Calls: | 7,612 |
Files: | 12,786 |
Messages: | 5,683,800 |