Thomas Goirand:
> 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)
> 

The python-distutils build system does not support python3 (see
#597105).  I note that the pybuild (third-party) build system seems to
do and probably a lot better / up to date than debhelper's variant ever
will.

Seems to me that the proper thing to do would be to retire the
python-distutils build system and have people migrate to the pybuild
build system.

Thanks,
~Niels

Reply via email to