JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3RbrJFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3RbrB ~ fuh@sddlZddlZddlmZddlmZddlmZddlm Z ddl m Z ddl m Z ddlmZmZmZdd lmZdd l mZdd lmZdd lmZd ZddddddZddddddddddddedZerdddddded<ddd d!dded"<dZGd#d$d$eZdS)%N)log)Command)DEBUG)get_config_vars)DistutilsPlatformError) write_file) convert_path subst_vars change_root) get_platform)DistutilsOptionError) USER_BASE) USER_SITETz$base/Lib/site-packagesz$base/Include/$dist_namez $base/Scriptsz$base)purelibplatlibheadersscriptsdataz/$base/lib/python$py_version_short/site-packagesz5$platbase/lib64/python$py_version_short/site-packagesz9$base/include/python$py_version_short$abiflags/$dist_namez $base/binz$base/lib/pythonz$base/lib64/pythonz$base/include/python/$dist_name) unix_prefix unix_homentz $usersitez4$userbase/Python$py_version_nodot/Include/$dist_namez)$userbase/Python$py_version_nodot/Scriptsz $userbaseZnt_userz=$userbase/include/python$py_version_short$abiflags/$dist_namez $userbase/bin unix_userc@s:eZdZdZdddddddd d d d d ddddddgZdddgZer`edddefedddiZ ddZ ddZ dd Z d!d"Z d#d$Zd%d&Zd'd(Zd)d*Zd+d,Zd-d.Zd/d0Zd1d2Zd3d4Zd5d6Zd7d8Zd9d:Zd;d<Zd=d>Zd?d@ZdAdBZdCdDZdEefdFefdGefdHefdIdJdKfgZdS)Linstallz'install everything from build directory)zprefix=Nzinstallation prefix)z exec-prefix=Nz.(Unix only) prefix for platform-specific files)zhome=Nz+(Unix only) home directory to install under)z install-base=Nz;base installation directory (instead of --prefix or --home))zinstall-platbase=Nz\base installation directory for platform-specific files (instead of --exec-prefix or --home))zroot=Nz/opt/alt/python37/lib64/python3.7/distutils/command/install.pyinitialize_optionss2 zinstall.initialize_optionsc Csx|js|js|jr&|js|jr&td|jr@|js8|jr@td|jrl|jsd|jsd|jsd|jsd|jrltdtjdkr|jr| dd|_| dtjdkr| n| | dt jd}td d \}}y t j}Wntk rd }YnX|j|j|j|d t jdd dt jdd |||||d |_trf|j|jd<|j|jd<|| d|j|jd<|j|jd<trddlm}td||j| | d|jr|!|j"dkr|jj#r|j$|_"n|j%|_"|&dddddddd|'|j"|_(tj)*|j"|j+|_"|j,dk r\|-ddddddd| d|.d d!d"dS)#NzWmust supply either prefix/exec-prefix/home or install-base/install-platbase -- not bothz9must supply either home or prefix/exec-prefix -- not bothzGcan't combine user with prefix, exec_prefix/home, or install_(plat)baseposixz+exec-prefix option ignored on this platformzpre-finalize_{unix,other}zpost-finalize_{unix,other}()rr r!z%d.%dz%d%d) Z dist_nameZ dist_versionZ dist_fullname py_versionZpy_version_shortZpy_version_nodotZ sys_prefixr Zsys_exec_prefixr!abiflagsuserbaseZusersitezpost-expand_basedirs()baseZplatbase)pprintz config vars:zpost-expand_dirs()librrrrrZlibbasezafter prepending rootbuild)r3r3)r4r4)/r r!r"r#r$r rosnamewarn dump_dirs finalize_unixfinalize_othersysversionsplitrr>AttributeError distributionZget_nameZ get_versionZ get_fullname version_info config_vars HAS_USER_SITEr,r-expand_basedirsrrAprint expand_dirscreate_home_pathr)Z ext_modulesr'r& convert_pathshandle_extra_pathinstall_libbasepathjoin extra_dirsr% change_rootsZset_undefined_options)r6r=r r!r>rAr7r7r8finalize_optionss                           zinstall.finalize_optionscCstsdSddlm}t|dx||jD]r}|d}|ddkrN|dd}||jkrz|j|}||}t|| }n||}t||}td||q*WdS)Nr) longopt_xlate:=z %s: %s) rZdistutils.fancy_getoptr^rdebug user_options negative_opt translategetattr)r6msgr^optZopt_namevalr7r7r8rGus         zinstall.dump_dirscCs"|jdk s|jdk r\|jdkr2|jdkr2|jdksP|jdksP|jdksP|jdkrXtddS|j r|j dkrtt d|j |_|_| dn|j dk r|j |_|_| dnl|jdkr|jdk rtdtjtj|_tjtj|_n|jdkr|j|_|j|_|j|_| ddS)NzPinstall-base or install-platbase supplied, but installation scheme is incompletez$User base directory is not specifiedrrz*must not supply exec-prefix without prefixr)r#r$r)r&r'r(r*r+r rr,r select_schemer"r r!rDrYnormpathrJ)r6r7r7r8rHs<             zinstall.finalize_unixcCs|jr8|jdkrtd|j|_|_|tjdn|jdk r\|j|_|_|dn\|j dkrvtj t j |_ |j |_|_y|tjWn"t k rtdtjYnXdS)Nz$User base directory is not specifiedZ_userrz)I don't know how to install stuff on '%s')rr,rr#r$rjrDrEr"r rYrkrJKeyError)r6r7r7r8rIs"    zinstall.finalize_othercCs@t|}x2tD]*}d|}t||dkrt||||qWdS)Ninstall_)INSTALL_SCHEMES SCHEME_KEYSrfsetattr)r6rEZschemekeyZattrnamer7r7r8rjs  zinstall.select_schemecCs\xV|D]N}t||}|dk rtjdks0tjdkr|D]2}||}x"|D]}||kr&||q&WqW|jrl|jrl|tj|j |jd|S)Nz.pth) rget_finalized_commandrappendrzr0rDrYrZrX)r6rrcmdrr7r7r8rWs  zinstall.get_outputscCs2g}x(|D]}||}||qW|S)N)rrextend get_inputs)r6Zinputsrrr7r7r8rhs  zinstall.get_inputscCs|jp|jS)N)rNZhas_pure_modulesZhas_ext_modules)r6r7r7r8has_libts zinstall.has_libcCs |jS)N)rN has_headers)r6r7r7r8rzszinstall.has_headerscCs |jS)N)rN has_scripts)r6r7r7r8rszinstall.has_scriptscCs |jS)N)rNZhas_data_files)r6r7r7r8has_dataszinstall.has_datar)r(r*r+Zinstall_egg_infocCsdS)NTr7)r6r7r7r8zinstall.) __name__ __module__ __qualname__ descriptionrcZboolean_optionsrQrrrdr9r]rGrHrIrjrtrRrTrVrWr\rUrrrrrrrrZ sub_commandsr7r7r7r8rIsh    N(  " , r)rJrDZ distutilsrZdistutils.corerZdistutils.debugrZdistutils.sysconfigrZdistutils.errorsrZdistutils.file_utilrZdistutils.utilrr r r r Zsiter rrQZWINDOWS_SCHEMErnrorr7r7r7r8sT