a
    ˆÀàg  ã                   @   sH  d Z ddlmZ ddlZddlmZmZ ddlmZ erPddl	m
Z
 ddlmZ edd	ƒZed
edddƒfdedddƒfdedddƒfdedddƒfdedddƒfdedd d!ƒfd"ed#d$d%ƒfd&ed'd(d)ƒfd*ed+d,d-ƒfd.ed/d0d1ƒfd2ed3d4d5ƒfd6ed7d8d9ƒfd:ed;d<d=ƒfd>ed?d@dAƒfdBedCdDdEƒfgƒZdFdG„ ZdHdI„ ZdS )Jz%
Package containing all pip commands
é    )Úabsolute_importN)ÚOrderedDictÚ
namedtuple)ÚMYPY_CHECK_RUNNING)ÚAny)ÚCommandÚCommandInfoz module_path, class_name, summaryÚinstallzpip._internal.commands.installZInstallCommandzInstall packages.Zdownloadzpip._internal.commands.downloadZDownloadCommandzDownload packages.Ú	uninstallz pip._internal.commands.uninstallZUninstallCommandzUninstall packages.Zfreezezpip._internal.commands.freezeZFreezeCommandz1Output installed packages in requirements format.Úlistzpip._internal.commands.listZListCommandzList installed packages.Úshowzpip._internal.commands.showZShowCommandz*Show information about installed packages.Úcheckzpip._internal.commands.checkZCheckCommandz7Verify installed packages have compatible dependencies.Úconfigz$pip._internal.commands.configurationZConfigurationCommandz&Manage local and global configuration.Úsearchzpip._internal.commands.searchZSearchCommandzSearch PyPI for packages.Úcachezpip._internal.commands.cacheZCacheCommandz%Inspect and manage pip's wheel cache.Úwheelzpip._internal.commands.wheelZWheelCommandz$Build wheels from your requirements.Úhashzpip._internal.commands.hashZHashCommandz#Compute hashes of package archives.Z
completionz!pip._internal.commands.completionZCompletionCommandz-A helper command used for command completion.Údebugzpip._internal.commands.debugZDebugCommandz&Show information useful for debugging.Úhelpzpip._internal.commands.helpZHelpCommandzShow help for commands.c                 K   s:   t |  \}}}t |¡}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   ÚmoduleZcommand_classÚcommand© r    úX/var/www/sistema_ama/venv/lib/python3.9/site-packages/pip/_internal/commands/__init__.pyÚcreate_commandc   s
    

r"   c                 C   s6   ddl m} |  ¡ } || t ¡ ƒ}|r.|d S dS dS )zCommand name auto-correct.r   )Úget_close_matchesFN)Zdifflibr#   Úlowerr   Úkeys)r   r#   Zclose_commandsr    r    r!   Úget_similar_commandsp   s    r&   )Ú__doc__Ú
__future__r   r   Úcollectionsr   r   Úpip._internal.utils.typingr   Útypingr   Zpip._internal.cli.base_commandr   r   r   r"   r&   r    r    r    r!   Ú<module>   s�   

þþþþþþþþþþþþþþþÇ@