From 247e25897b1682a1c15f240d780eb81ca01e0a5a Mon Sep 17 00:00:00 2001 From: Youssef <95358038+badziyoussef@users.noreply.github.com> Date: Mon, 15 Aug 2022 09:36:27 +0100 Subject: [PATCH] Fixed #33778 -- Updated build-system configuration. This removes unnecessary wheel dependency and __legacy__ fallback. --- docs/intro/reusable-apps.txt | 4 ++-- pyproject.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/intro/reusable-apps.txt b/docs/intro/reusable-apps.txt index e120857586..f0fa4b1306 100644 --- a/docs/intro/reusable-apps.txt +++ b/docs/intro/reusable-apps.txt @@ -195,8 +195,8 @@ this. For a small app like polls, this process isn't too difficult. :caption: ``django-polls/pyproject.toml`` [build-system] - requires = ['setuptools>=40.8.0', 'wheel'] - build-backend = 'setuptools.build_meta:__legacy__' + requires = ['setuptools>=40.8.0'] + build-backend = 'setuptools.build_meta' .. code-block:: ini :caption: ``django-polls/setup.cfg`` diff --git a/pyproject.toml b/pyproject.toml index 21aa71dd2d..b1b79a53dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ['setuptools>=40.8.0', 'wheel'] -build-backend = 'setuptools.build_meta:__legacy__' +requires = ['setuptools>=40.8.0'] +build-backend = 'setuptools.build_meta' [tool.black] target-version = ['py38']