Hi Thomas (2024.07.12_12:53:54_+0000) > The way to deal with it, is simply something like this: > > export SETUPTOOLS_SCM_PRETEND_VERSION=$(shell dpkg-parsechangelog -SVersion > | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//' -e 's/~git.*//' -e 's/~/.0/' -e > 's/+dfsg1//' -e 's/+ds1//' | head -n 1) > > and then setuptools-scm knows what version to use without using the Git > history. > > Probably pybuild does that automatically under the hood (I tend to not use > pybuild, and so I do the above ...).
It does. Stefano -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272