HEX
Server: Apache
System: Linux falcon1.webguru.ng 5.15.0-177-generic #187-Ubuntu SMP Sat Apr 11 22:54:33 UTC 2026 x86_64
User: property (1150)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/python2.7/dist-packages/setuptools/command/install_scripts.pyc
�
3_�cc@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((sF/usr/lib/python2.7/dist-packages/setuptools/command/install_scripts.pyRscCs�ddljj}|jd�|jjr>tjj|�n	g|_	|j
rTdS|jd�}t|j
t|j
|j�|j|j�}|jd�}t|dd�}y%|jd�}t|dt�}Wntk
r�t}nX|j}|rd}|j}n|tjkr,|g}n|j�}|jj�j|�}	x-|j||	j��D]}
|j|
�qiWdS(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_versiontgetattrtNoneRtImportErrortScriptWritertWindowsScriptWritertsysRtbesttcommand_spec_classt
from_paramtget_argst	as_headertwrite_script(R	teitei_cmdtdisttbs_cmdt
exec_paramtbw_cmdt
is_wininsttwritertcmdtargs((sF/usr/lib/python2.7/dist-packages/setuptools/command/install_scripts.pyRs8
		

	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(RR2R3Rtinfotinstall_dirtostpathtjoinRtappendtdry_runRtopentwritetclose(
R	tscript_nametcontentstmodetignoredR2R3ttargettmasktf((sF/usr/lib/python2.7/dist-packages/setuptools/command/install_scripts.pyR&6s		


(t__name__t
__module__t__doc__RRR&(((sF/usr/lib/python2.7/dist-packages/setuptools/command/install_scripts.pyR	s		&(t	distutilsRt!distutils.command.install_scriptsRRRR7R t
pkg_resourcesRRR(((sF/usr/lib/python2.7/dist-packages/setuptools/command/install_scripts.pyt<module>s