Remove unused build() argument

This commit is contained in:
Stéphane Bidoul (ACSONE) 2020-01-03 12:49:08 +01:00
parent 66e010980a
commit 5aa3b3d2f0
No known key found for this signature in database
GPG Key ID: BCAB2555446B5B92
3 changed files with 0 additions and 9 deletions

View File

@ -355,7 +355,6 @@ class InstallCommand(RequirementCommand):
_, build_failures = build(
reqs_to_build,
should_unpack=True,
wheel_cache=wheel_cache,
build_options=[],
global_options=[],

View File

@ -168,7 +168,6 @@ class WheelCommand(RequirementCommand):
# build wheels
build_successes, build_failures = build(
reqs_to_build,
should_unpack=False,
wheel_cache=wheel_cache,
build_options=options.build_options or [],
global_options=options.global_options or [],

View File

@ -260,7 +260,6 @@ def _clean_one_legacy(req, global_options):
def build(
requirements, # type: Iterable[InstallRequirement]
should_unpack, # type: bool
wheel_cache, # type: WheelCache
build_options, # type: List[str]
global_options, # type: List[str]
@ -269,9 +268,6 @@ def build(
# type: (...) -> BuildResult
"""Build wheels.
:param should_unpack: If True, after building the wheel, unpack it
and replace the sdist with the unpacked version in preparation
for installation.
:return: The list of InstallRequirement that succeeded to build and
the list of InstallRequirement that failed to build.
"""
@ -282,9 +278,6 @@ def build(
if not requirements:
return [], []
# TODO by @pradyunsg
# Should break up this method into 2 separate methods.
# Build the wheels.
logger.info(
'Building wheels for collected packages: %s',