On 2019-04-02 03:23, Piotr Ożarowski wrote:
To clarify, I meant that dh_python3 replaces the shebangs with /usr/bin/python2 (not /usr/bin/python) instead of /usr/bin/python3.not a bug, it's a feature :) If upstream claims it's for Python 2.X then that's what it is. If it's not, use --shebang /usr/bin/python3
I see. So you mean upstream would need to use #!/usr/bin/env python3 to get it handled as /usr/bin/python3