Antoine Beaupré <[email protected]> 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 <[email protected]>

_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to