ok

Mini Shell

Direktori : /proc/thread-self/root/usr/lib/python2.7/site-packages/setuptools/command/
Upload File :
Current File : //proc/thread-self/root/usr/lib/python2.7/site-packages/setuptools/command/install_scripts.pyo

�
b-�Qc@sbddlmZddlmZmZmZddlZddlm	Z	defd��YZdS(i����(tinstall_scripts(tDistributiontPathMetadatatensure_directoryN(tlogRcBs,eZdZd�Zd�Zdd�ZRS(s;Do normal script install, plus any egg_info wrapper scriptscCstj|�t|_dS(N(t_install_scriptstinitialize_optionstFalsetno_ep(tself((sF/usr/lib/python2.7/site-packages/setuptools/command/install_scripts.pyR
s
c	Csddlm}ddlm}|jd�|jjrItj|�n	g|_|j	r_dS|j
d�}t|jt
|j|j�|j|j�}|j
d�}t|d|�}t|j
d�dt�}x'||||�D]}|j|�q�WdS(	Ni����(tget_script_args(tsys_executabletegg_infot
build_scriptst
executablet
bdist_wininstt_is_running(tsetuptools.command.easy_installR
Rtrun_commandtdistributiontscriptsRtruntoutfilesRtget_finalized_commandRtegg_baseRRtegg_nametegg_versiontgetattrRtwrite_script(	R	R
Rtei_cmdtdisttbs_cmdRt
is_wininsttargs((sF/usr/lib/python2.7/site-packages/setuptools/command/install_scripts.pyRs$
		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(RR#R$Rtinfotinstall_dirtostpathtjoinRtappendtdry_runRtopentwritetclose(
R	tscript_nametcontentstmodetignoredR#R$ttargettmasktf((sF/usr/lib/python2.7/site-packages/setuptools/command/install_scripts.pyR(s		


(t__name__t
__module__t__doc__RRR(((sF/usr/lib/python2.7/site-packages/setuptools/command/install_scripts.pyRs		(
t!distutils.command.install_scriptsRRt
pkg_resourcesRRRR(t	distutilsR(((sF/usr/lib/python2.7/site-packages/setuptools/command/install_scripts.pyt<module>s

Zerion Mini Shell 1.0