From e5f3ef231dfc8a7cc7b4f34a56b54aa84315612e Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Tue, 1 Aug 2023 18:02:06 +0100 Subject: [PATCH] Remove wheel from ``requires`` in ``build-system`` section See the following Note in https://setuptools.pypa.io/en/latest/userguide/quickstart.html#basic-use """ Historically this documentation has unnecessarily listed `wheel` in the `requires` list, and many projects still do that. This is not recommended. The backend automatically adds `wheel` dependency when it is required, and listing it explicitly causes it to be unnecessarily required for source distribution builds. You should only include `wheel` in `requires` if you need to explicitly access it during build time (e.g. if your project needs a `setup.py` script that imports `wheel`). """ --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3f1a06765..f3e5dc627 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools", "wheel"] +requires = ["setuptools"] build-backend = "setuptools.build_meta" [tool.black]