a [›ýf˜ã@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ƒd8œZ ee e fe d9<e ee d:œd;d<„Ze ee d=œd>d?„ZdS)@z% Package containing all pip commands éN)Ú namedtuple)ÚAnyÚDictÚOptional)ÚCommandÚ CommandInfoz module_path, class_name, summaryzpip._internal.commands.installZInstallCommandzInstall packages.zpip._internal.commands.downloadZDownloadCommandzDownload packages.z pip._internal.commands.uninstallZUninstallCommandzUninstall packages.zpip._internal.commands.freezeZ FreezeCommandz1Output installed packages in requirements format.zpip._internal.commands.listZ ListCommandzList installed packages.zpip._internal.commands.showZ ShowCommandz*Show information about installed packages.zpip._internal.commands.checkZ CheckCommandz7Verify installed packages have compatible dependencies.z$pip._internal.commands.configurationZConfigurationCommandz&Manage local and global configuration.zpip._internal.commands.searchZ SearchCommandzSearch PyPI for packages.zpip._internal.commands.cacheZ CacheCommandz%Inspect and manage pip's wheel cache.zpip._internal.commands.indexZ IndexCommandz3Inspect information available from package indexes.zpip._internal.commands.wheelZ WheelCommandz$Build wheels from your requirements.zpip._internal.commands.hashZ HashCommandz#Compute hashes of package archives.z!pip._internal.commands.completionZCompletionCommandz-A helper command used for command completion.zpip._internal.commands.debugZ DebugCommandz&Show information useful for debugging.zpip._internal.commands.helpZ HelpCommandzShow help for commands.)ÚinstallZdownloadZ uninstallZfreezeÚlistZshowÚcheckZconfigÚsearchÚcacheÚindexZwheelÚhashZ 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)rrZ module_pathÚ class_namerÚmoduleZ command_classZcommand©rúC/usr/lib/python3.9/site-packages/pip/_internal/commands/__init__.pyÚcreate_commandhs   r)rrcCs6ddlm}| ¡}||t ¡ƒ}|r.|dSdSdS)zCommand name auto-correct.r)Úget_close_matchesN)ZdifflibrÚlowerrÚkeys)rrZclose_commandsrrrÚget_similar_commandsts  r!)Ú__doc__rÚ collectionsrÚtypingrrrZpip._internal.cli.base_commandrrrÚstrÚ__annotations__rr!rrrrÚs°   ýýýýýýýýýýýýýýýý´T