Hi Dmitry (2025.04.14_13:21:17_+0000)
What do you think about patching setuptools to generate #!python3 instead of #!python? This should make dh_python3 do the right thing, and should not cause much difference on systems other than Debian.
That is tempting.I think the future-looking option here is to enable python -> python3 shebang rewrites in dh-python by default. But there is more risk with this path.
Stefano -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272