Fixed #33778 -- Updated build-system configuration.

This removes unnecessary wheel dependency and __legacy__ fallback.
This commit is contained in:
Youssef 2022-08-15 09:36:27 +01:00 committed by Mariusz Felisiak
parent 242499f2dc
commit 247e25897b
2 changed files with 4 additions and 4 deletions

View File

@ -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``

View File

@ -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']