U
ÀÒ.e‚ ã @ s: d Z ddlmZ ddlZddlmZmZ ddlmZ erPddl m
Z
ddlmZ edd ƒZ
ed
e
ddd
ƒ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.listZListCommandzList installed packages.Zshowzpip._internal.commands.showZShowCommandz*Show information about installed packages.Zcheckzpip._internal.commands.checkZCheckCommandz7Verify 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.wheelZWheelCommandz$Build wheels from your requirements.Úhashzpip._internal.commands.hashZHashCommandz#Compute hashes of package archives.Z
completionz!pip._internal.commands.completionZCompletionCommandz-A helper command used for command completion.Údebugzpip._internal.commands.debugZDebugCommandz&Show information useful for debugging.Úhelpzpip._internal.commands.helpZHelpCommandzShow help for commands.c K s: 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 ÚkwargsZmodule_pathÚ
class_namer ÚmoduleZ
command_classZcommand© r úC/usr/lib/python3.8/site-packages/pip/_internal/commands/__init__.pyÚcreate_commandZ s
r c C s6 ddl m} | ¡ } || t ¡ ƒ}|r.|d S dS dS )zCommand name auto-correct.r )Úget_close_matchesFN)Zdifflibr Úlowerr Úkeys)r r Zclose_commandsr r r Úget_similar_commandsg s r )Ú__doc__Z
__future__r r Úcollectionsr r Zpip._internal.utils.typingr Útypingr Zpip._internal.cli.base_commandr r r r r r r r r Ú s¤
þ þ þ þ þ þ þ þ þ þ þ þ þ þË<