Add pyproject.toml to support pip 23.1

pip 23.1 removed the "setup.py install" fallback for projects that do
not have pyproject.toml and now uses a pyproject.toml which is vendored
in pip. pip 25.3 will go a step further and enforce presence of this
file.

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

See [1] and [2] for more details on the removal of the fallback support.

[1] https://pip.pypa.io/en/stable/news/#v23-1
[2] https://github.com/pypa/pip/issues/8368

Change-Id: I7cfef5bfabfd416e3ea5951ec14e1babb7a000fe
This commit is contained in:
Sean Mooney 2023-11-02 11:16:49 +00:00 committed by Stephen Finucane
parent 5125d9feed
commit ee437c72ca

3
pyproject.toml Normal file
View File

@ -0,0 +1,3 @@
[build-system]
requires = ["pbr>=6.1.1"]
build-backend = "pbr.build"