Viewing File: /opt/alt/python35/lib/python3.5/site-packages/pip/_internal/operations/install/legacy.pyo
ó
“tÆ_c @ s! d Z d d l Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z d d l
m Z d d l m
Z
d d l m Z d d l m Z d d
l m Z e rï d d l m Z m Z m Z d d l m Z d d
l m Z n e j e ƒ Z d e f d „ ƒ YZ d „ Z! d S( s6 Legacy installation process, i.e. `setup.py install`.
iÿÿÿÿN( t change_root( t InstallationError( t
indent_log( t
ensure_dir( t make_setuptools_install_args( t runner_with_spinner_message( t
TempDirectory( t MYPY_CHECK_RUNNING( t Listt Optionalt Sequence( t BuildEnvironment( t Schemet LegacyInstallFailurec B s e Z d „ Z RS( c C s t j ƒ | _ d S( N( t syst exc_infot parent( t self( ( sX /opt/alt/python35/lib/python3.5/site-packages/pip/_internal/operations/install/legacy.pyt __init__ s ( t __name__t
__module__R ( ( ( sX /opt/alt/python35/lib/python3.5/site-packages/pip/_internal/operations/install/legacy.pyR
s c sf | j } t d d ƒ } yÏ t j j | j d ƒ } t | d | d | d | d ˆ d | d | d
| d | d | d
| ƒ
} t d j |
ƒ ƒ } t ƒ % | | d | d | ƒ Wd QXWd QXt j j | ƒ sé t
j d | ƒ t SWn t
k
rt ‚ n Xt | ƒ } | j ƒ j ƒ } Wd QXWd QX‡ f d † } xZ | D]7 } t j j | ƒ } | j d ƒ rG| | ƒ } PqGqGWd j |
ƒ } t | ƒ ‚ g } xa | D]Y } | j ƒ } t j j | ƒ rá| t j j 7} n | j t j j | | ƒ | ƒ ƒ qªW| j ƒ t | ƒ t j j | d ƒ } t | d ƒ ! } | j d j | ƒ d ƒ Wd QXt S( Nt kindt records install-record.txtt global_optionst install_optionst record_filenamet roott prefixt
header_dirt homet
use_user_sitet no_user_configt pycompiles Running setup.py install for {}t cmdt cwds Record file %s not foundc s4 ˆ d k s t j j | ƒ r# | St ˆ | ƒ Sd S( N( t Nonet ost patht isabsR ( R% ( R ( sX /opt/alt/python35/lib/python3.5/site-packages/pip/_internal/operations/install/legacy.pyt prepend_root` s s .egg-infos„ {} did not indicate that it installed an .egg-info directory. Only setup.py projects generating .egg-info directories are supported.s installed-files.txtt ws
( t headersR R$ R% t joinR R t formatR t existst loggert debugt Falset ExceptionR
t opent readt
splitlinest dirnamet endswithR t stript isdirt sept appendt relpatht sortR t writet True( R R R R R R R t schemet
setup_py_patht isolatedt req_namet build_envt unpacked_source_directoryt req_descriptionR t temp_dirR t install_argst runnert ft record_linesR' t linet directoryt egg_info_dirt messaget new_linest filenamet inst_files_path( ( R sX /opt/alt/python35/lib/python3.5/site-packages/pip/_internal/operations/install/legacy.pyt install! sh
("