Re@sdZddlmZddlZddlmZmZddlmZernddl m Z ddl m Z edd Z ed e d d d fde dddfde dddfde dddfde dddfde dd d!fd"e d#d$d%fd&e d'd(d)fd*e d+d,d-fd.e d/d0d1fd2e d3d4d5fd6e d7d8d9fd:e d;d<d=fd>e d?d@dAfdBe dCdDdEfgZdFdGZdHdIZdS)Jz% Package containing all pip commands )absolute_importN) OrderedDict namedtuple)MYPY_CHECK_RUNNING)Any)Command CommandInfoz module_path, class_name, summaryinstallzpip._internal.commands.installInstallCommandzInstall packages.downloadzpip._internal.commands.downloadDownloadCommandzDownload packages. uninstallz pip._internal.commands.uninstallUninstallCommandzUninstall packages.freezezpip._internal.commands.freeze FreezeCommandz1Output installed packages in requirements format.listzpip._internal.commands.list ListCommandzList installed packages.showzpip._internal.commands.show ShowCommandz*Show information about installed packages.checkzpip._internal.commands.check CheckCommandz7Verify installed packages have compatible dependencies.configz$pip._internal.commands.configurationConfigurationCommandz&Manage local and global configuration.searchzpip._internal.commands.search SearchCommandzSearch PyPI for packages.cachezpip._internal.commands.cache CacheCommandz%Inspect and manage pip's wheel cache.wheelzpip._internal.commands.wheel WheelCommandz$Build wheels from your requirements.hashzpip._internal.commands.hash HashCommandz#Compute hashes of package archives. completionz!pip._internal.commands.completionCompletionCommandz-A helper command used for command completion.debugzpip._internal.commands.debug DebugCommandz&Show information useful for debugging.helpzpip._internal.commands.help HelpCommandzShow help for commands.cKsMt|\}}}tj|}t||}|d|d||}|S)zF Create an instance of the Command class with the given name. namesummary) commands_dict importlib import_modulegetattr)r'kwargs module_path class_namer(module command_classcommandr3/builddir/build/BUILDROOT/alt-python35-pip-20.2.4-5.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/pip/_internal/commands/__init__.pycreate_commandbs r5cCsGddlm}|j}||tj}|r?|dSdSdS)zCommand name auto-correct.r)get_close_matchesFN)difflibr6lowerr)keys)r'r6close_commandsr3r3r4get_similar_commandsos  r;)__doc__ __future__rr* collectionsrrpip._internal.utils.typingrtypingrpip._internal.cli.base_commandrrr)r5r;r3r3r3r4sp