Your IP : 3.135.247.237


Current Path : /opt/alt/python27/lib/python2.7/site-packages/setuptools/command/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/setuptools/command/install_scripts.pyc

�
��Rec@ssddlmZddljjZddlZddlZddlm	Z	m
Z
mZdejfd��YZdS(i����(tlogN(tDistributiontPathMetadatatensure_directorytinstall_scriptscBs,eZdZd�Zd�Zdd�ZRS(s;Do normal script install, plus any egg_info wrapper scriptscCstjj|�t|_dS(N(torigRtinitialize_optionstFalsetno_ep(tself((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/install_scripts.pyRscCsfddljj}|jd�|jjr>tjj|�n	g|_	|j
rTdS|jd�}t|j
t|j
|j�|j|j�}|jd�}t|dd�}|jd�}t|dt�}|j}|r�d}|j}n|tjkr|g}n|j�}|jj�j|�}	x-|j||	j��D]}
|j|
�qKWdS(Ni����tegg_infot
build_scriptst
executablet
bdist_wininstt_is_runnings
python.exe(tsetuptools.command.easy_installtcommandteasy_installtrun_commandtdistributiontscriptsRRtruntoutfilesRtget_finalized_commandRtegg_baseRR
tegg_nametegg_versiontgetattrtNoneRtScriptWritertWindowsScriptWritertsysRtbesttcommand_spec_classt
from_paramtget_argst	as_headertwrite_script(R	teitei_cmdtdisttbs_cmdt
exec_paramtbw_cmdt
is_wininsttwritertcmdtargs((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/install_scripts.pyRs2
			ttc
Gs�ddlm}m}tjd||j�tjj|j|�}|j	j
|�|�}|js�t|�t
|d|�}	|	j|�|	j�||d|�ndS(s1Write an executable file to the scripts directoryi����(tchmodt
current_umasksInstalling %s script to %stwi�N(RR1R2Rtinfotinstall_dirtostpathtjoinRtappendtdry_runRtopentwritetclose(
R	tscript_nametcontentstmodetignoredR1R2ttargettmasktf((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/install_scripts.pyR%3s		


(t__name__t
__module__t__doc__RRR%(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/install_scripts.pyR	s		#(t	distutilsRt!distutils.command.install_scriptsRRRR6Rt
pkg_resourcesRRR(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/install_scripts.pyt<module>s


?>