관리-도구
편집 파일: main.cpython-38.opt-1.pyc
U ��.eO � @ s� d Z ddlmZ ddlZddlZddlZddlZddlmZ ddl m Z ddlmZ ddl mZ ddlmZ e�e�Zdd d �ZdS )z Primary application entrypoint. � )�absolute_importN)�autocomplete)� parse_command)�create_command)�PipError)�deprecationc C s� | d krt jdd � } t�� t� zt| �\}}W nJ tk r~ } z,t j�d| � t j�t j � t �d� W 5 d }~X Y nX zt� tjd� W n0 tjk r� } zt�d|� W 5 d }~X Y nX t|d|kd�}|�|�S )N� z ERROR: %s� z%Ignoring error %s when setting localez --isolated)�isolated)�sys�argvr Zinstall_warning_loggerr r r �stderr�write�os�linesep�exit�locale� setlocale�LC_ALL�Error�logger�debugr �main)�argsZcmd_nameZcmd_args�exc�eZcommand� r �6/usr/lib/python3.8/site-packages/pip/_internal/main.pyr s r )N)�__doc__Z __future__r r Zloggingr r Z pip._internal.cli.autocompletionr Zpip._internal.cli.main_parserr Zpip._internal.commandsr Zpip._internal.exceptionsr Zpip._internal.utilsr Z getLogger�__name__r r r r r r �<module> s