Ńň b-äQc@sbddklZddklZlZlZddkZddkl 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 scriptscCsti|ƒt|_dS(N(t_install_scriptstinitialize_optionstFalsetno_ep(tself((sH/usr/lib/python2.6/vendor-packages/setuptools/command/install_scripts.pyR s c Cs ddkl}ddkl}|idƒ|iioti|ƒn g|_|i odS|i dƒ}t |i t |i |iƒ|i|iƒ}|i dƒ}t|d|ƒ}t|i dƒdtƒ}x'||||ƒD]}|i|ŒqîWdS( Ni˙˙˙˙(tget_script_args(tsys_executabletegg_infot build_scriptst executablet bdist_wininstt _is_running(tsetuptools.command.easy_installR R t run_commandt distributiontscriptsRtruntoutfilesRtget_finalized_commandRtegg_baseRR tegg_namet egg_versiontgetattrRt write_script( R R R tei_cmdtdisttbs_cmdRt is_wininsttargs((sH/usr/lib/python2.6/vendor-packages/setuptools/command/install_scripts.pyRs&    ttc Gs´ddkl}l}tid||iƒtii|i|ƒ}|i i |ƒ|ƒ}|i pIt |ƒt |d|ƒ} | i|ƒ| iƒ||d|ƒndS(s1Write an executable file to the scripts directoryi˙˙˙˙(tchmodt current_umasksInstalling %s script to %stwi˙N(RR#R$Rtinfot install_dirtostpathtjoinRtappendtdry_runRtopentwritetclose( R t script_nametcontentstmodetignoredR#R$ttargettmasktf((sH/usr/lib/python2.6/vendor-packages/setuptools/command/install_scripts.pyR(s     (t__name__t __module__t__doc__RRR(((sH/usr/lib/python2.6/vendor-packages/setuptools/command/install_scripts.pyRs  ( t!distutils.command.install_scriptsRRt pkg_resourcesRRRR(t distutilsR(((sH/usr/lib/python2.6/vendor-packages/setuptools/command/install_scripts.pyts