o
    ©„j‰  ã                   @  sR   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	„ZdS )zPrimary application entrypoint.é    )ÚannotationsNÚargsúlist[str] | NoneÚreturnÚintc              
   C  s0  ddl m} ddlm} ddlm} ddlm} ddlm	} | d u r)t
jdd … } tjdtd	d
� | ¡  |ƒ  z|| ƒ\}}W n' |yg } zt
j d|› �¡ t
j tj¡ t
 d¡ W Y d }~nd }~ww z	t tjd¡ W n tjyŠ }	 zt d|	¡ W Y d }	~	nd }	~	ww ||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
   Ú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/   úT/var/www/html/django_cbt/venv/lib/python3.10/site-packages/pip/_internal/cli/main.pyr)   )   s8   ÿ€ý€þ
r)   )N)r   r   r   r   )Ú__doc__Ú
__future__r   r#   Úloggingr    r   r   Ú	getLoggerÚ__name__r'   r)   r/   r/   r/   r0   Ú<module>   s    
