Hi Ole (2026.02.18_17:46:56_+0000)
an even simpler version seems to be to write a MANIFEST.in (or prepend an existing version of MANIFEST.in) with

graft .
prune .git
prune debian

This removes the need to parse them manually.

That only sounds appropriate for a clean tree.

So you'll have to be sure that a build doesn't happen in a dirty tree, which is something that will happen when 2 Python versions are supported in Debian.

Stefano

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

Reply via email to