mirror of https://github.com/pypa/pip
Only allow the finder to use wheels as build reqs
This commit is contained in:
parent
4f8541972f
commit
547f92d0c2
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue