On 2014-05-02 02:48, Brian May wrote: > In a particular project (django-model-utils 2.0.3 to be precise), if I > have a debian/rules file containing: > > > %: > dh $@ --with python2 > > Then dh_auto_* tools determine that the project comes with a Makefile > (upstream file), and uses that instead of setup.py > > How can I force it to use setup.py?
%: dh $@ --with python2 --buildsystem=python_distutils See also section BUILD SYSTEM OPTIONS of debhelper(7). > I have tried providing override_dh_auto_*, but then I hard coded the > python version to use. > > Or should I create a patch in debian/patches that removes the Makefile? > This seems to be the simplest solution, but want to make sure it sounds > reasonable. > > Thanks > -- > Brian May <br...@microcomaustralia.com.au > <mailto:br...@microcomaustralia.com.au>> -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/5362f173.6080...@kvr.at