From 92a9183f47eca82ae2e8884af68f58db7072911b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= Date: Mon, 4 Nov 2019 20:14:02 +0100 Subject: [PATCH] Remove unused WheelBuilder.no_clean --- src/pip/_internal/commands/wheel.py | 1 - src/pip/_internal/wheel_builder.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/pip/_internal/commands/wheel.py b/src/pip/_internal/commands/wheel.py index e1d59ee4c2b..1bf2bbecb83 100644 --- a/src/pip/_internal/commands/wheel.py +++ b/src/pip/_internal/commands/wheel.py @@ -192,7 +192,6 @@ def run(self, options, args): preparer, wheel_cache, build_options=options.build_options or [], global_options=options.global_options or [], - no_clean=options.no_clean, path_to_wheelnames=options.path_to_wheelnames ) build_failures = wb.build( diff --git a/src/pip/_internal/wheel_builder.py b/src/pip/_internal/wheel_builder.py index ba93933edf8..9b2db949c27 100644 --- a/src/pip/_internal/wheel_builder.py +++ b/src/pip/_internal/wheel_builder.py @@ -205,7 +205,6 @@ def __init__( build_options=None, # type: Optional[List[str]] global_options=None, # type: Optional[List[str]] check_binary_allowed=None, # type: Optional[BinaryAllowedPredicate] - no_clean=False, # type: bool path_to_wheelnames=None, # type: Optional[Union[bytes, Text]] ): # type: (...) -> None @@ -221,7 +220,6 @@ def __init__( self.build_options = build_options or [] self.global_options = global_options or [] self.check_binary_allowed = check_binary_allowed - self.no_clean = no_clean # path where to save built names of built wheels self.path_to_wheelnames = path_to_wheelnames # file names of built wheel names