I managed to get my package built from reading
http://www.wefearchange.org/2012/01/debian-package-for-
python-2-and-3.html.  Specifically , I had to add a section to the
debian/rules file:

#!/usr/bin/make -f

%:
        dh $@ --with python3

override_dh_auto_clean:
        set -ex; for python in $(shell py3versions -r); do \
                $$python setup.py clean -a; \
        done;


I'm attempting a PPA upload now of this package, so whilst the package built 
locally, I don't know if it actually works...but at least I don't get the error 
any more!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1017043

Title:
  dh_auto_clean tries to use python instead of python3 when --with
  python3 specified

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debhelper/+bug/1017043/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to