> However, it seems the upstream build actually depends on setuptools-scm now, > they (you? :)) don't use any other way to tell the build system about > the data files - the *.png images, the *.rst documentation, etc.. > This... may be a problem if the package is not built out of a Git checkout > with Git itself present... and Debian packages are usually expected to be > built out of a plain extracted source archive, no `.git/`, no anything.
I am just contributing to the project, specifficaly I try to add a proper pyproject.toml file. > I'd suggest making some changes upstream, like listing the data files > yourself: > https://setuptools.pypa.io/en/latest/userguide/datafiles.html > > (or, of course, switching away from setuptools, but any build system you > choose > may still need to be configured to include the data files along with your > Python module sources, although some of them do this by default for most > files) setuptools is not the right tool in order to build Python projects ? Fred