diff options
author | Chris Hunt <chrahunt@gmail.com> | 2019-12-11 20:10:17 -0500 |
---|---|---|
committer | Chris Hunt <chrahunt@gmail.com> | 2019-12-11 22:14:25 -0500 |
commit | 2607bfcc221ead3fc898e66bfcdcc124e6423fbc (patch) | |
tree | ad2484ee903fa9565076cb1b7a628e591876c012 | |
parent | bb2552d6e55b89f91f79624d0528d939d6fd2862 (diff) | |
download | pip-refactor/cleanup-cli-opts.tar.gz |
Remove redundant build_dir normalizationrefactor/cleanup-cli-opts
-rw-r--r-- | src/pip/_internal/commands/install.py | 3 | ||||
-rw-r--r-- | src/pip/_internal/commands/wheel.py | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/pip/_internal/commands/install.py b/src/pip/_internal/commands/install.py index e56dfa47d..c7dcf28df 100644 --- a/src/pip/_internal/commands/install.py +++ b/src/pip/_internal/commands/install.py @@ -288,9 +288,6 @@ class InstallCommand(RequirementCommand): if options.upgrade: upgrade_strategy = options.upgrade_strategy - if options.build_dir: - options.build_dir = os.path.abspath(options.build_dir) - cmdoptions.check_dist_restriction(options, check_target=True) install_options = options.install_options or [] diff --git a/src/pip/_internal/commands/wheel.py b/src/pip/_internal/commands/wheel.py index 2cb430f44..0a9aa5f52 100644 --- a/src/pip/_internal/commands/wheel.py +++ b/src/pip/_internal/commands/wheel.py @@ -146,9 +146,6 @@ class WheelCommand(RequirementCommand): # type: (Values, List[Any]) -> None cmdoptions.check_install_build_global(options) - if options.build_dir: - options.build_dir = os.path.abspath(options.build_dir) - session = self.get_default_session(options) finder = self._build_package_finder(options, session) |