ok

Mini Shell

Direktori : /proc/thread-self/root/lib/python2.7/site-packages/setuptools/command/
Upload File :
Current File : //proc/thread-self/root/lib/python2.7/site-packages/setuptools/command/install_egg_info.pyc

�
b-�Qc@stddlmZddlmZddlmZmZddlZddlZddl	Z	defd��YZ
dS(i����(tCommand(tunpack_archive(tlogtdir_utilNtinstall_egg_infocBs\eZdZdZdgZd�Zd�Zd�Zd�Zd�Z	d	�Z
d
�ZRS(s.Install an .egg-info directory for the packagesinstall-dir=tdsdirectory to install tocCs
d|_dS(N(tNonetinstall_dir(tself((sG/usr/lib/python2.7/site-packages/setuptools/command/install_egg_info.pytinitialize_optionsscCs�|jdd�|jd�}tjdd|j|j�j�d}|j|_t	j
j|j|�|_
|j
g|_dS(Ntinstall_libRtegg_infos	.egg-info(sinstall_dirsinstall_dir(tset_undefined_optionstget_finalized_commandt
pkg_resourcestDistributionRtegg_nametegg_versionRtsourcetostpathtjoinRttargettoutputs(Rtei_cmdtbasename((sG/usr/lib/python2.7/site-packages/setuptools/command/install_egg_info.pytfinalize_optionsscCs�|jd�|j}tjj|j�r]tjj|j�r]tj|jd|j�n;tjj	|j�r�|j
tj|jfd|j�n|js�tj
|j�n|j
|jdd|j|jf�|j�dS(NRtdry_runs	Removing sCopying %s to %s((trun_commandRRRtisdirtislinkRtremove_treeRtexiststexecutetunlinkRtensure_directorytcopytreeRtinstall_namespaces(RR((sG/usr/lib/python2.7/site-packages/setuptools/command/install_egg_info.pytruns
	+&	cCs|jS(N(R(R((sG/usr/lib/python2.7/site-packages/setuptools/command/install_egg_info.pytget_outputs*scs)�fd�}t�j�j|�dS(Ncs[x1dD])}|j|�s,d||krdSqW�jj|�tjd||�|S(Ns.svn/sCVS/t/sCopying %s to %s(s.svn/sCVS/(t
startswithRRtappendRtdebug(tsrctdsttskip(R(sG/usr/lib/python2.7/site-packages/setuptools/command/install_egg_info.pytskimmer/s
(RRR(RR/((RsG/usr/lib/python2.7/site-packages/setuptools/command/install_egg_info.pyR$-s
cCs|j�}|sdStjj|j�\}}|d7}|jj|�tjd|�|j	s�t
|d�}xy|D]q}t|�}t|j
d��}d}d|kr�ddj|d �|df}n|jdt��qzW|j�ndS(	Ns
-nspkg.pths
Installing %stwtt.s
s(; m and setattr(sys.modules[%r], %r, m)
i����s7import sys,types,os; p = os.path.join(sys._getframe(1).f_locals['sitedir'], *%(pth)r); ie = os.path.exists(os.path.join(p,'__init__.py')); m = not ie and sys.modules.setdefault(%(pkg)r,types.ModuleType(%(pkg)r)); mp = (m or []) and m.__dict__.setdefault('__path__',[]); (p not in mp) and mp.append(p)%(trailer)s(t_get_all_ns_packagesRRtsplitextRRR*RtinfoRtopentstrttupletsplitRtwritetlocalstclose(Rtnsptfilenametexttftpkgtpthttrailer((sG/usr/lib/python2.7/site-packages/setuptools/command/install_egg_info.pyR%Ss(
	
!cCsvi}xS|jjpgD]?}|jd�}x'|rWd|dj|�<|j�q1WqWt|�}|j�|S(NR1i(tdistributiontnamespace_packagesR8Rtpoptlisttsort(RR<R@((sG/usr/lib/python2.7/site-packages/setuptools/command/install_egg_info.pyR2rs	
(sinstall-dir=Rsdirectory to install to(t__name__t
__module__t__doc__tdescriptiontuser_optionsR	RR&R'R$R%R2(((sG/usr/lib/python2.7/site-packages/setuptools/command/install_egg_info.pyRs			
			&	(t
setuptoolsRtsetuptools.archive_utilRt	distutilsRRRtshutilRR(((sG/usr/lib/python2.7/site-packages/setuptools/command/install_egg_info.pyt<module>s$

Zerion Mini Shell 1.0