Add info log when wheel building is skipped (#7768)

This commit is contained in:
Anudit Nagar 2020-02-24 03:26:36 +05:30 committed by GitHub
parent 40523794d8
commit e6ed38dbce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

1
news/7768.feature Normal file
View File

@ -0,0 +1 @@
Indicate when wheel building is skipped, due to lack of the ``wheel`` package.

View File

@ -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: