Answering my own question (and it would be nice to have this documented somewhere!), the solution is to use a more recent dh-python dependency and depend on python-setuptools-scm explicitely, *and* use --buildsystem=pybuild.
I cargo-culted the (>= 2.20160609~) dependency from python-keyring, but I don't really know what I am doing. I expected something about this to be documented in a README.Debian file. A. -- The idea that Bill Gates has appeared like a knight in shining armour to lead all customers out of a mire of technological chaos neatly ignores the fact that it was he who, by peddling second-rate technology, led them into it in the first place. - Douglas Adams (1952-2001) _______________________________________________ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team