[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg-buildpackage vs sbuild with python packaging



Hi PICCA (2025.06.11_17:14:36_+0000)

Hi thomas (2025.06.11_16:30:15_+0000)
As for the version, setuptools-scm understand an env var that you may set with
something like:
export SETUPTOOLS_SCM_PRETEND_VERSION=$(shell dpkg-parsechangelog -something)

the same kind of things is availalbe also for hatchling-vcs ?

python3-hatch-vcs is actually just a thin wrapper around setuptools-vcs, so yes.

And again, you don't need to export this, pybuild does it for you.

Stefano

--
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272


Reply to: