U
    •øïc‚  ã                   @   s:  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gƒZdBdC„ ZdDdE„ ZdS )Fz%
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.Ú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   ú]/var/www/html/TransitoApp/venv/lib/python3.8/site-packages/pip/_internal/commands/__init__.pyÚcreate_commandZ   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_commandsg   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¤   

 þ þ þ þ þ þ þ þ þ þ þ þ þ þË<