You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build Wheel archives for your requirements and dependencies.
Wheel is a built-package format, and offers the advantage of not
recompiling your software during every install. For more details, see the
wheel docs: https://wheel.readthedocs.io/en/latest/
Requirements: setuptools>=0.8, and wheel.
'pip wheel' uses the bdist_wheel setuptools extension from the wheel
package to build individual wheels.
However, if PEP 517 is used, I guess this bdist_wheel is not executed. By setting the build backend to poetry, I was able to run pip wheel . without wheel and setuptools being installed.
It's accurate for the setuptools backend1, but as you point out other backends have their own way of building wheels.
A PR to update the docs would be welcomed.
Footnotes
The fact that you don't need setuptools installed is technically not because of PEP 517, but because pip now does the build in an isolated environment, and installs the backend there. ↩
Description
Current docs
However, if PEP 517 is used, I guess this
bdist_wheel
is not executed. By setting the build backend to poetry, I was able to runpip wheel .
withoutwheel
andsetuptools
being installed.Are the docs outdated?
Expected behavior
No response
pip version
22.0.4
Python version
3.7.1
OS
Linux
How to Reproduce
pip wheel -h
Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: