add pyproject.toml to support pip 23.1

pip 23.1 removed the "setup.py install" for projects that do not have
their own pyproject.toml by having a hardcoded one within pip.

To address that, this change adds the minimal pyproject.toml
to enable pbr to be properly used to build editable wheels.

See https://pip.pypa.io/en/stable/news/#v23-1
and https://github.com/pypa/pip/issues/8368 for more info.

Change-Id: I30038fa6b4c924ff625deeb21633d487f3ea5ed2
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
This commit is contained in:
Doug Goldstein 2024-09-17 13:13:02 -05:00
parent c44c2d3d56
commit 8928f45402
No known key found for this signature in database

4
pyproject.toml Normal file
View File

@ -0,0 +1,4 @@
[build-system]
requires = ["pbr>=6.0.0", "setuptools>=64.0.0"]
build-backend = "pbr.build"