U
    †cUh*  ã                   @   s.  U d Z ddlZddlmZ ddlmZmZmZ ddlm	Z	 eddƒZ
e
dd	d
ƒe
dddƒe
dddƒe
dddƒe
dddƒe
dddƒe
dddƒe
dddƒ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eee
f ed<< eee	d=œd>d?„Zeee d@œdAdB„ZdS )Cz%
Package containing all pip commands
é    N)Ú
namedtuple)ÚAnyÚDictÚOptional)ÚCommandÚCommandInfoz module_path, class_name, summaryzpip._internal.commands.installZInstallCommandzInstall packages.zpip._internal.commands.downloadZDownloadCommandzDownload packages.z pip._internal.commands.uninstallZUninstallCommandzUninstall packages.zpip._internal.commands.freezeZFreezeCommandz1Output installed packages in requirements format.zpip._internal.commands.inspectZInspectCommandzInspect the python environment.zpip._internal.commands.listZListCommandzList installed packages.zpip._internal.commands.showZShowCommandz*Show information about installed packages.zpip._internal.commands.checkZCheckCommandz7Verify installed packages have compatible dependencies.z$pip._internal.commands.configurationZConfigurationCommandz&Manage local and global configuration.zpip._internal.commands.searchZSearchCommandzSearch PyPI for packages.zpip._internal.commands.cacheZCacheCommandz%Inspect and manage pip's wheel cache.zpip._internal.commands.indexZIndexCommandz3Inspect information available from package indexes.zpip._internal.commands.wheelZWheelCommandz$Build wheels from your requirements.zpip._internal.commands.hashZHashCommandz#Compute hashes of package archives.z!pip._internal.commands.completionZCompletionCommandz-A helper command used for command completion.zpip._internal.commands.debugZDebugCommandz&Show information useful for debugging.zpip._internal.commands.helpZHelpCommandzShow help for commands.)ÚinstallZdownloadÚ	uninstallZfreezeÚinspectÚlistÚshowÚcheckÚconfigÚsearchÚcacheÚindexÚwheelÚhashZ
completionÚdebugÚhelpÚcommands_dict)ÚnameÚkwargsÚreturnc                 K   s:   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   Zmodule_pathÚ
class_namer   ÚmoduleZcommand_classÚcommand© r!   ú_/opt/bot/vods_filmes/script/venv/lib/python3.8/site-packages/pip/_internal/commands/__init__.pyÚcreate_commandm   s
    

r#   )r   r   c                 C   s6   ddl m} |  ¡ } || t ¡ ƒ}|r.|d S dS dS )zCommand name auto-correct.r   )Úget_close_matchesN)Zdifflibr$   Úlowerr   Úkeys)r   r$   Zclose_commandsr!   r!   r"   Úget_similar_commandsy   s    r'   )Ú__doc__r   Úcollectionsr   Útypingr   r   r   Zpip._internal.cli.base_commandr   r   r   ÚstrÚ__annotations__r#   r'   r!   r!   r!   r"   Ú<module>   sº   

ýýýýýýýýýýýýýýýýý¯Y