3
ƒ”Re ã @ sH 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ƒfdBe
dCdDdEƒfgƒZdFdG„ ZdHdI„ ZdS )Jz%
Package containing all pip commands
é )Úabsolute_importN)ÚOrderedDictÚ
namedtuple)ÚMYPY_CHECK_RUNNING)ÚAny)ÚCommandÚCommandInfoz module_path, class_name, summaryÚinstallzpip._internal.commands.installÚInstallCommandzInstall packages.Údownloadzpip._internal.commands.downloadÚDownloadCommandzDownload packages.Ú uninstallz pip._internal.commands.uninstallÚUninstallCommandzUninstall 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.configurationÚConfigurationCommandz&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.completionÚCompletionCommandz-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.c K s: t | \}}}tj|ƒ}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' ÚkwargsÚmodule_pathÚ
class_namer( ÚmoduleÚ
command_classÚcommand© r3 úŽ/builddir/build/BUILDROOT/alt-python36-pip-20.2.4-5.el9.x86_64/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/commands/__init__.pyÚcreate_commandb s
r5 c C s6 ddl m} | jƒ } || tjƒ ƒ}|r.|d S dS dS )zCommand name auto-correct.r )Úget_close_matchesFN)Údifflibr6 Úlowerr) Úkeys)r' r6 Úclose_commandsr3 r3 r4 Úget_similar_commandso s r; )Ú__doc__Ú
__future__r r* Úcollectionsr r Úpip._internal.utils.typingr Útypingr Úpip._internal.cli.base_commandr r r) r5 r; r3 r3 r3 r4 Ú sp