We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f39d386 commit 857df90Copy full SHA for 857df90
src/pip/_internal/wheel_builder.py
@@ -83,6 +83,11 @@ def _should_build(
83
84
assert check_bdist_wheel is not None
85
if not check_bdist_wheel(req):
86
+ # /!\ When we change this to unconditionally return True, we must also remove
87
+ # support for `--install-option`. Indeed, `--install-option` implies
88
+ # `--no-binary` so we can return False here and run `setup.py install`.
89
+ # `--global-option` and `--build-option` can remain until we drop support for
90
+ # building with `setup.py bdist_wheel`.
91
req.legacy_install_reason = LegacyInstallReasonNoBinaryForcesSetuptoolsInstall
92
return False
93
0 commit comments