[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dh_auto_* and Makefile



Hello,

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?

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 <brian@microcomaustralia.com.au>

Reply to: