Skip to content

Commit

Permalink
Add info log when wheel building is skipped (#7768)
Browse files Browse the repository at this point in the history
  • Loading branch information
anudit authored Feb 23, 2020
1 parent 4052379 commit e6ed38d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions news/7768.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Indicate when wheel building is skipped, due to lack of the ``wheel`` package.
4 changes: 4 additions & 0 deletions src/pip/_internal/wheel_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ def _should_build(

if not req.use_pep517 and not is_wheel_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

if req.editable or not req.source_dir:
Expand Down

0 comments on commit e6ed38d

Please sign in to comment.