From 9fba36db167881a30d4da8ba2e197fd488e1a893 Mon Sep 17 00:00:00 2001 From: Bruce Merry Date: Mon, 18 Sep 2023 16:02:24 +0200 Subject: [PATCH] Remove wheel from build-system.requires From the setuptools documentation (https://setuptools.pypa.io/en/latest/userguide/quickstart.html): > 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 4f8138e..34d130d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools", "wheel", "katversion", "setuptools_scm"] +requires = ["setuptools", "katversion", "setuptools_scm"] [tool.isort] profile = "black"