Only allow the finder to use wheels as build reqs

This commit is contained in:
Pradyun Gedam 2018-01-23 01:35:24 +05:30
parent 4f8541972f
commit 547f92d0c2
No known key found for this signature in database
GPG Key ID: DA17C4B29CB32E4B
1 changed files with 1 additions and 1 deletions

View File

@ -693,7 +693,7 @@ class WheelBuilder(object):
# Ignore the --no-binary option when installing the build system, so
# we don't recurse trying to build a self-hosting build system.
finder = copy.copy(self.finder)
finder.format_control = FormatControl(set(), set())
finder.format_control = FormatControl(set(), set([":all:"]))
urls = [finder.find_requirement(InstallRequirement.from_line(r),
upgrade=False).url
for r in reqs]