U ��.e��@s:dZddlmZddlZddlmZmZddlmZerPddl m Z ddl m Z edd �Z ed e d d d �fde ddd�fde ddd�fde ddd�fde ddd�fde dd d!�fd"e d#d$d%�fd&e d'd(d)�fd*e d+d,d-�fd.e d/d0d1�fd2e d3d4d5�fd6e d7d8d9�fd:e d;de d?d@dA�fg�ZdBdC�ZdDdE�ZdS)Fz% Package containing all pip commands �)�absolute_importN)� OrderedDict� namedtuple)�MYPY_CHECK_RUNNING)�Any)�Command� CommandInfoz module_path, class_name, summaryZinstallzpip._internal.commands.installZInstallCommandzInstall packages.Zdownloadzpip._internal.commands.downloadZDownloadCommandzDownload packages.Z uninstallz pip._internal.commands.uninstallZUninstallCommandzUninstall packages.Zfreezezpip._internal.commands.freezeZ FreezeCommandz1Output installed packages in requirements format.�listzpip._internal.commands.listZ ListCommandzList installed packages.Zshowzpip._internal.commands.showZ ShowCommandz*Show information about installed packages.Zcheckzpip._internal.commands.checkZ CheckCommandz7Verify installed packages have compatible dependencies.Zconfigz$pip._internal.commands.configurationZConfigurationCommandz&Manage local and global configuration.�searchzpip._internal.commands.searchZ SearchCommandzSearch PyPI for packages.Zwheelzpip._internal.commands.wheelZ WheelCommandz$Build wheels from your requirements.�hashzpip._internal.commands.hashZ HashCommandz#Compute hashes of package archives.Z completionz!pip._internal.commands.completionZCompletionCommandz-A helper command used for command completion.�debugzpip._internal.commands.debugZ DebugCommandz&Show information useful for debugging.�helpzpip._internal.commands.helpZ HelpCommandzShow help for commands.cKs:t|\}}}t�|�}t||�}|f||d�|��}|S)zF Create an instance of the Command class with the given name. )�name�summary)� commands_dict� importlib� import_module�getattr)r�kwargsZ module_path� class_namer�moduleZ command_classZcommand�r�C/usr/lib/python3.8/site-packages/pip/_internal/commands/__init__.py�create_commandZs   rcCs6ddlm}|��}||t���}|r.|dSdSdS)zCommand name auto-correct.r)�get_close_matchesFN)Zdifflibr�lowerr�keys)rrZclose_commandsrrr�get_similar_commandsgs  r)�__doc__Z __future__rr� collectionsrrZpip._internal.utils.typingr�typingrZpip._internal.cli.base_commandrrrrrrrrr�s�     ���������������<