Open Alessandro-Barbieri opened 2 years ago
More detail (why do you want this, what will it add, etc) and possibly a PR?
I believe it's required for PEP 517 tooling and would avoid downstream packagers from having to hack in the info manually.
I need it to move the ebuild of fontparts in the gentoo overlay ::guru to use PEP517 see https://projects.gentoo.org/python/guide/distutils.html#the-pep-517-and-legacy-modes
Got it. Read that doc, very helpful: do you know which build-background
we should be using? Ok if not, I'll sort it out if not.
Probably setuptools, as that's what setup.py uses.
@justvanrossum that's my guess to. On figuring it out as we do use setuptools_scm
which has wrinkles it seems.
Perhaps go pyproject.toml all the way, and only leave a stub setup.py. I'm doing that with a new project and seems to work ok, including setuptools_scm
.
My build-system
section looks like this:
[build-system]
requires = ["setuptools", "setuptools-scm[toml]"]
build-backend = "setuptools.build_meta"
Could you add add build-backend to pyproject.toml?