mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Add info log when wheel building is skipped (#7768)
This commit is contained in:
parent
40523794d8
commit
e6ed38dbce
2 changed files with 5 additions and 0 deletions
1
news/7768.feature
Normal file
1
news/7768.feature
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Indicate when wheel building is skipped, due to lack of the ``wheel`` package.
|
|
@ -71,6 +71,10 @@ def _should_build(
|
||||||
|
|
||||||
if not req.use_pep517 and not is_wheel_installed():
|
if not req.use_pep517 and not is_wheel_installed():
|
||||||
# we don't build legacy requirements if wheel is not installed
|
# we don't build legacy requirements if wheel is not installed
|
||||||
|
logger.info(
|
||||||
|
"Could not build wheels for %s,"
|
||||||
|
"since package 'wheel' is not installed.", req.name,
|
||||||
|
)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if req.editable or not req.source_dir:
|
if req.editable or not req.source_dir:
|
||||||
|
|
Loading…
Reference in a new issue