diff options
author | Stéphane Bidoul <stephane.bidoul@gmail.com> | 2021-01-02 13:43:56 +0100 |
---|---|---|
committer | Stéphane Bidoul <stephane.bidoul@gmail.com> | 2021-01-02 13:43:56 +0100 |
commit | 93a51f1de38594179d9c43fdf556c1cddaa4ce8e (patch) | |
tree | b2cce8414b5214c15acfab7771f40c258cb12e9a /src/pip/_internal/commands/freeze.py | |
parent | 062f0e54d99f58e53be36be5a45adad89e2429fb (diff) | |
download | pip-93a51f1de38594179d9c43fdf556c1cddaa4ce8e.tar.gz |
The freeze operation does not need a wheel_cache
Diffstat (limited to 'src/pip/_internal/commands/freeze.py')
-rw-r--r-- | src/pip/_internal/commands/freeze.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/pip/_internal/commands/freeze.py b/src/pip/_internal/commands/freeze.py index d9caa3351..8a0b07a06 100644 --- a/src/pip/_internal/commands/freeze.py +++ b/src/pip/_internal/commands/freeze.py @@ -1,10 +1,8 @@ import sys -from pip._internal.cache import WheelCache from pip._internal.cli import cmdoptions from pip._internal.cli.base_command import Command from pip._internal.cli.status_codes import SUCCESS -from pip._internal.models.format_control import FormatControl from pip._internal.operations.freeze import freeze from pip._internal.utils.compat import stdlib_pkgs from pip._internal.utils.deprecation import deprecated @@ -78,8 +76,6 @@ class FreezeCommand(Command): def run(self, options, args): # type: (Values, List[str]) -> int - format_control = FormatControl(set(), set()) - wheel_cache = WheelCache(options.cache_dir, format_control) skip = set(stdlib_pkgs) if not options.freeze_all: skip.update(DEV_PKGS) @@ -104,7 +100,6 @@ class FreezeCommand(Command): user_only=options.user, paths=options.path, isolated=options.isolated_mode, - wheel_cache=wheel_cache, skip=skip, exclude_editable=options.exclude_editable, ) |