a *žeg*ã@s.UdZddlZddlmZddlmZmZmZddlm Z eddƒZ e dd d ƒe d d d ƒe dddƒe dddƒe dddƒe dddƒe dddƒe dddƒe d d!d"ƒe d#d$d%ƒe d&d'd(ƒe d)d*d+ƒe d,d-d.ƒe d/d0d1ƒe d2d3d4ƒe d5d6d7ƒe d8d9d:ƒd;œZ ee e fe d<<e ee d=œd>d?„Ze ee d@œdAdB„ZdS)Cz% Package containing all pip commands éN)Ú namedtuple)ÚAnyÚDictÚOptional)ÚCommandÚ CommandInfoz module_path, class_name, summaryzpip._internal.commands.installÚInstallCommandzInstall packages.zpip._internal.commands.downloadÚDownloadCommandzDownload packages.z pip._internal.commands.uninstallÚUninstallCommandzUninstall packages.zpip._internal.commands.freezeÚ FreezeCommandz1Output installed packages in requirements format.zpip._internal.commands.inspectZInspectCommandzInspect the python environment.zpip._internal.commands.listÚ ListCommandzList installed packages.zpip._internal.commands.showÚ ShowCommandz*Show information about installed packages.zpip._internal.commands.checkÚ CheckCommandz7Verify installed packages have compatible dependencies.z$pip._internal.commands.configurationÚConfigurationCommandz&Manage local and global configuration.zpip._internal.commands.searchÚ SearchCommandzSearch PyPI for packages.zpip._internal.commands.cacheÚ CacheCommandz%Inspect and manage pip's wheel cache.zpip._internal.commands.indexZ IndexCommandz3Inspect information available from package indexes.zpip._internal.commands.wheelÚ WheelCommandz$Build wheels from your requirements.zpip._internal.commands.hashÚ HashCommandz#Compute hashes of package archives.z!pip._internal.commands.completionÚCompletionCommandz-A helper command used for command completion.zpip._internal.commands.debugÚ DebugCommandz&Show information useful for debugging.zpip._internal.commands.helpÚ HelpCommandzShow help for commands.)ÚinstallÚdownloadÚ uninstallÚfreezeÚinspectÚlistÚshowÚcheckÚconfigÚsearchÚcacheÚindexÚwheelÚhashÚ completionÚdebugÚhelpÚ commands_dict)ÚnameÚkwargsÚreturncKs:t|\}}}t |¡}t||ƒ}|f||dœ|¤Ž}|S)zF Create an instance of the Command class with the given name. )r)Úsummary)r(Ú importlibÚ import_moduleÚgetattr)r)r*Ú module_pathÚ class_namer,ÚmoduleÚ command_classÚcommand©r5úI/usr/local/lib/python3.9/site-packages/pip/_internal/commands/__init__.pyÚcreate_commandms   r7)r)r+cCs6ddlm}| ¡}||t ¡ƒ}|r.|dSdSdS)zCommand name auto-correct.r)Úget_close_matchesN)Údifflibr8Úlowerr(Úkeys)r)r8Úclose_commandsr5r5r6Úget_similar_commandsys  r=)Ú__doc__r-Ú collectionsrÚtypingrrrÚpip._internal.cli.base_commandrrr(ÚstrÚ__annotations__r7r=r5r5r5r6Úsº   ýýýýýýýýýýýýýýýýý¯Y