a
    ¢Ài˜  ã                   @   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d9< eee	d:œ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.installÚInstallCommandzInstall packages.zpip._internal.commands.downloadÚDownloadCommandzDownload packages.z pip._internal.commands.uninstallÚUninstallCommandzUninstall packages.zpip._internal.commands.freezeÚFreezeCommandz1Output installed packages in requirements format.zpip._internal.commands.listÚListCommandzList installed packages.zpip._internal.commands.showÚShowCommandz*Show information about installed packages.zpip._internal.commands.checkÚCheckCommandz7Verify installed packages have compatible dependencies.z$pip._internal.commands.configurationÚConfigurationCommandz&Manage local and global configuration.zpip._internal.commands.searchÚSearchCommandzSearch PyPI for packages.zpip._internal.commands.cacheÚCacheCommandz%Inspect and manage pip's wheel cache.zpip._internal.commands.indexÚIndexCommandz3Inspect information available from package indexes.zpip._internal.commands.wheelÚWheelCommandz$Build wheels from your requirements.zpip._internal.commands.hashÚHashCommandz#Compute hashes of package archives.z!pip._internal.commands.completionÚCompletionCommandz-A helper command used for command completion.zpip._internal.commands.debugÚDebugCommandz&Show information useful for debugging.zpip._internal.commands.helpÚHelpCommandzShow help for commands.)ÚinstallÚdownloadÚ	uninstallÚfreezeÚlistÚshowÚcheckÚconfigÚsearchÚcacheÚindexÚwheelÚhashÚ
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*   Úmodule_pathÚ
class_namer,   ÚmoduleÚcommand_classÚcommand© r5   úa/home/ec2-user/npost_license/.venv/lib/python3.9/site-packages/pip/_internal/commands/__init__.pyÚcreate_commandh   s
    

r7   )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)Údifflibr8   Úlowerr(   Úkeys)r)   r8   Úclose_commandsr5   r5   r6   Úget_similar_commandst   s    r=   )Ú__doc__r-   Úcollectionsr   Útypingr   r   r   Úpip._internal.cli.base_commandr   r   r(   ÚstrÚ__annotations__r7   r=   r5   r5   r5   r6   Ú<module>   s°   

ýýýýýýýýýýýýýýýý´T