î œ0{Y¼ã @s™dZddlmZddlmZddlmZddlmZddl m Z ddl m Z ddl mZdd lmZdd lmZdd lmZdd lmZdd lmZi eej6eej6eej6eej6e e j6eej6eej6eej6eej6eej6e e j6eej6Zeeee ee eeeeeg Zdddd„Zdd„Zdd„ZdS)z% Package containing all pip commands é)Ú BundleCommand)ÚCompletionCommand)Ú FreezeCommand)Ú HelpCommand)Ú ListCommand)Ú SearchCommand)Ú ShowCommand)ÚInstallCommand)ÚUninstallCommand)Ú UnzipCommand)Ú ZipCommand)Ú WheelCommandTccsb|rtttƒ}n tjƒ}x7|D]/\}}|rL|jrLq+n||jfVq+WdS)z5Yields sorted (command name, command summary) tuples.N)Ú_sort_commandsÚcommandsÚcommands_orderÚitemsÚhiddenÚsummary)Ú ignore_hiddenÚorderedÚcmditemsÚnameÚ command_class©rú0/tmp/pip-ok8sy_ze-build/pip/commands/__init__.pyÚ get_summaries3s rcCsBddlm}||tjƒƒ}|r8|d}nd}|S)zCommand name auto-correct.r)Úget_close_matchesF)ÚdifflibrrÚkeys)rrÚclose_commandsÚguessrrrÚget_similar_commandsBs  r!cs(‡fdd†}t|jƒd|ƒS)Nc s2yˆj|dƒSWntk r-dSYnXdS)Nééÿ)ÚindexÚ ValueError)Úkey)ÚorderrrÚkeyfnQs z_sort_commands..keyfnr&)Úsortedr)Úcmddictr'r(r)r'rrPsrN)Ú__doc__Úpip.commands.bundlerÚpip.commands.completionrÚpip.commands.freezerÚpip.commands.helprÚpip.commands.listrÚpip.commands.searchrÚpip.commands.showrÚpip.commands.installr Úpip.commands.uninstallr Úpip.commands.unzipr Úpip.commands.zipr Úpip.commands.wheelr rrrrr!rrrrrÚsN