Skip to content

Commit

Permalink
Use the non-legacy setuptools backend in pyproject.toml
Browse files Browse the repository at this point in the history
Use the regular `setuptools.build_meta` backend rather than
the `__legacy__` backend.  The latter was never meant to be used
explicitly in `pyproject.toml` files but rather as implicit fallback
in tools such as pip(1).  See e.g.:
pypa/setuptools#1689

Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
mgorny committed Aug 7, 2022
1 parent c84abfd commit ae506ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = ["setuptools>=40.8.0"]
build-backend = "setuptools.build_meta:__legacy__"
build-backend = "setuptools.build_meta"

# TODO: Remove when https://github.com/mgedmin/check-manifest/pull/155 released
[tool.check-manifest]
Expand Down

0 comments on commit ae506ed

Please sign in to comment.