관리-도구
편집 파일: main.cpython-36.pyc
3 �Re8 � @ s� d Z ddlmZ ddlZddlZddlZddlZddlmZ ddl m Z ddlmZ ddl mZ ddlmZ dd lmZ er�dd lmZmZ eje�Zd dd�ZdS )z Primary application entrypoint. � )�absolute_importN)�autocomplete)� parse_command)�create_command)�PipError)�deprecation)�MYPY_CHECK_RUNNING)�List�Optionalc C s� | d krt jdd � } tj� t� yt| �\}}W nL tk r� } z0t jjdj |�� t jjt j� t jd� W Y d d }~X nX yt jt jd� W n0 t jk r� } ztjd|� W Y d d }~X nX t|d|kd�}|j|�S )N� z ERROR: {}� z%Ignoring error %s when setting localez --isolated)�isolated)�sys�argvr �install_warning_loggerr r r �stderr�write�format�os�linesep�exit�locale� setlocale�LC_ALL�Error�logger�debugr �main)�args�cmd_name�cmd_args�exc�e�command� r$ ��/builddir/build/BUILDROOT/alt-python36-pip-20.2.4-5.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/cli/main.pyr 1 s r )N)�__doc__� __future__r r �loggingr r � pip._internal.cli.autocompletionr �pip._internal.cli.main_parserr �pip._internal.commandsr �pip._internal.exceptionsr Zpip._internal.utilsr �pip._internal.utils.typingr �typingr r � getLogger�__name__r r r$ r$ r$ r% �<module> s