3
ôÁg˜  ã               @   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ƒd8œZeee
f eee	d9œd:d;„Zeee d<œd=d>„ZdS )?z%
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.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ÚlistÚshowÚcheckÚconfigÚsearchÚcacheÚindexÚwheelÚhashZ
completionÚdebugÚhelp)ÚnameÚkwargsÚreturnc             K   s:   t |  \}}}tj|ƒ}t||ƒ}|f | |dœ|—Ž}|S )zF
    Create an instance of the Command class with the given name.
    )r   Úsummary)Úcommands_dictÚ	importlibÚimport_moduleÚgetattr)r   r   Úmodule_pathÚ
class_namer   ÚmoduleZcommand_classÚcommand© r!   ú]/var/www/tester-filtro-web/env/lib/python3.6/site-packages/pip/_internal/commands/__init__.pyÚcreate_commandh   s
    

r#   )r   r   c             C   s6   ddl m} | jƒ } || tjƒ ƒ}|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_commandst   s    r'   )Ú__doc__r   Úcollectionsr   Útypingr   r   r   Zpip._internal.cli.base_commandr   r   r   Ústrr#   r'   r!   r!   r!   r"   Ú<module>   sŽ   

