Antoine Beaupré <anar...@debian.org> writes:

> 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.

In the past I have found I need to set (in debian/rules):

export SETUPTOOLS_SCM_PRETEND_VERSION=$(shell cat PKG-INFO | sed -n 
's/^Version: //p')

otherwise the version won't come out correctly.
-- 
Brian May <b...@debian.org>

Reply via email to