Skip to content

Commit df8e407

Browse files
committed
Build: Use non-legacy setuptools backend
Use the modern `setuptools.build_meta` backend rather than the legacy backend that is implied by the lack of `build-backend`. This is documented in PEP 517: > If the `pyproject.toml` file is absent, or the `build-backend` key is > missing, the source tree is not using this specification, and tools > should revert to the legacy behaviour of running `setup.py` (either > directly, or by implicitly invoking > the `setuptools.build_meta:__legacy__` backend). https://peps.python.org/pep-0517/#source-trees
1 parent 3a656b8 commit df8e407

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[build-system]
22
requires = ["setuptools", "wheel"]
3+
build-backend = "setuptools.build_meta"
34

45
[project]
56
name = "pygccxml"

0 commit comments

Comments
 (0)