관리-도구
편집 파일: editable_legacy.cpython-38.pyc
U &?�f � @ s� d Z ddlZddlmZmZ ddlmZ ddlmZ ddl m Z ddlmZ e� e�Zee ee ee eeeeeedd� d d �ZdS )z?Legacy editable installation process, i.e. `setup.py develop`. � N)�Optional�Sequence)�BuildEnvironment)� indent_log)�make_setuptools_develop_args)�call_subprocess) �global_options�prefix�home� use_user_site�name� setup_py_path�isolated� build_env�unpacked_source_directory�returnc C sT t �d|� t|| ||||d�} t� �$ |� t| d|d� W 5 Q R X W 5 Q R X dS )z[Install a package in editable mode. Most arguments are pass-through to setuptools. zRunning setup.py develop for %s)r �no_user_configr r r zpython setup.py develop)�command_desc�cwdN)�logger�infor r r ) r r r r r r r r r �args� r �^/opt/hc_python/lib/python3.8/site-packages/pip/_internal/operations/install/editable_legacy.py�install_editable s � �r )�__doc__�logging�typingr r �pip._internal.build_envr �pip._internal.utils.loggingr �$pip._internal.utils.setuptools_buildr �pip._internal.utils.subprocessr � getLogger�__name__r �str�boolr r r r r �<module> s$ �