Package: debhelper
Version: 11.2.1
Severity: important

When using debhelper like this:

        dh $@ --buildsystem=python_distutils --with python3

then it still calls:
        python setup.py clean
and:
        python setup.py build

when really, nobody asked for it to use Python 2. As a consequence, one has to
override_dh_auto_{clean,build} just to make it not do it.

My suggestion is to make dh just clean and build with python3 when there's only
--with python3 and no --with python2.

Cheers,

Thomas Goirand (zigo)

Reply via email to