a
    ñ»jA  ã                   @  sX   d Z ddlmZ ddlZddlZddlZddlZddlZe e	¡Z
d	dddœdd„ZdS )
zPrimary application entrypoint.é    )ÚannotationsNzlist[str] | NoneÚint)ÚargsÚreturnc              
   C  s2  ddl m} ddlm} ddlm} ddlm} ddlm	} | d u rRt
jdd … } tjdtd	d
� | ¡  |ƒ  z|| ƒ\}}W nN |yÎ } z6t
j d|› �¡ t
j tj¡ t
 d¡ W Y d }~n
d }~0 0 zt tjd¡ W n4 tj�y }	 zt d|	¡ W Y d }	~	n
d }	~	0 0 ||d|v d�}
|
 |¡S )Nr   )Úautocomplete)Úparse_command)Úcreate_command)ÚPipError)Údeprecationé   Úignorez.*pkg_resources)ÚactionÚcategoryÚmodulezERROR: Ú z%Ignoring error %s when setting localez
--isolated)Úisolated)Ú pip._internal.cli.autocompletionr   Úpip._internal.cli.main_parserr   Úpip._internal.commandsr   Úpip._internal.exceptionsr	   Zpip._internal.utilsr
   ÚsysÚargvÚwarningsÚfilterwarningsÚDeprecationWarningÚinstall_warning_loggerÚstderrÚwriteÚosÚlinesepÚexitÚlocaleÚ	setlocaleÚLC_ALLÚErrorÚloggerÚdebugÚmain)r   r   r   r   r	   r
   Úcmd_nameÚcmd_argsÚexcÚeÚcommand© r-   ú<E:\soccer\ml_env\Lib\site-packages\pip/_internal/cli/main.pyr'   )   s0    ÿ "r'   )N)Ú__doc__Ú
__future__r   r!   Úloggingr   r   r   Ú	getLoggerÚ__name__r%   r'   r-   r-   r-   r.   Ú<module>   s   
