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 <[email protected]
> <mailto:[email protected]>>


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/[email protected]

Reply via email to