Skip to content

Commit

Permalink
Remove wheel from requires in build-system section
Browse files Browse the repository at this point in the history
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`).
"""
  • Loading branch information
nsoranzo committed Aug 1, 2023
1 parent cb5a896 commit e5f3ef2
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,5 +1,5 @@
[build-system]
requires = ["setuptools", "wheel"]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[tool.black]
Expand Down

0 comments on commit e5f3ef2

Please sign in to comment.