ok

Mini Shell

Direktori : /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_egg_info.pyo

�
0��`c@sxddlmZmZddlZddlmZddlmZddlm	Z	ddl
Z
defd��YZdS(i����(tlogtdir_utilN(tmap(tCommand(tunpack_archivetinstall_egg_infocBsweZdZdZdgZd�Zd�Zd�Zd�Zd�Z	d	�Z
dZdZe
d��Zd�ZRS(s.Install an .egg-info directory for the packagesinstall-dir=tdsdirectory to install tocCs
d|_dS(N(tNonetinstall_dir(tself((sT/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/install_egg_info.pytinitialize_optionsscCs{|jdd�|jd�}tjdd|j|j�j�d}|j|_t	j
j|j|�|_
g|_dS(Ntinstall_libRtegg_infos	.egg-info(RR(tset_undefined_optionstget_finalized_commandt
pkg_resourcestDistributionRtegg_nametegg_versionRtsourcetostpathtjoinRttargettoutputs(R	tei_cmdtbasename((sT/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/install_egg_info.pytfinalize_optionss	cCs�|jd�tjj|j�rTtjj|j�rTtj|jd|j�n;tjj	|j�r�|j
tj|jfd|j�n|js�tj
|j�n|j
|jdd|j|jf�|j�dS(NRtdry_runs	Removing sCopying %s to %s((trun_commandRRtisdirRtislinkRtremove_treeRtexiststexecutetunlinkRtensure_directorytcopytreeRtinstall_namespaces(R	((sT/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/install_egg_info.pytrun"s
+&	 cCs|jS(N(R(R	((sT/opt/alt/python27/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	(sT/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/install_egg_info.pytskimmer4s
(RRR(R	R0((R	sT/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/install_egg_info.pyR%2scCs�|j�}|sdStjj|j�\}}|d7}|jj|�tjd|�t	|j
|�}|jr�t|�dSt
|d��}|j|�WdQXdS(Ns
-nspkg.pths
Installing %stwt(t_get_all_ns_packagesRRtsplitextRRR+RtinfoRt_gen_nspkg_lineRtlisttopent
writelines(R	tnsptfilenametexttlinestf((sT/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/install_egg_info.pyR&As
	
simport sys, types, oss@p = os.path.join(sys._getframe(1).f_locals['sitedir'], *%(pth)r)s2ie = os.path.exists(os.path.join(p,'__init__.py'))sIm = not ie and sys.modules.setdefault(%(pkg)r, types.ModuleType(%(pkg)r))s7mp = (m or []) and m.__dict__.setdefault('__path__',[])s(p not in mp) and mp.append(p)s4m and setattr(sys.modules[%(parent)r], %(child)r, m)cCspt|�}t|jd��}|j}|jd�\}}}|rX||j7}ndj|�t�dS(Nt.t;s
(tstrttupletsplitt_nspkg_tmplt
rpartitiont_nspkg_tmpl_multiRtlocals(tclstpkgtptht
tmpl_linestparenttseptchild((sT/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/install_egg_info.pyR5cs	cCslt�}xV|jjpgD]B}|jd�}x*|r]|jdj|��|j�q4WqWt|�S(s,Return sorted list of all package namespacesR>(tsettdistributiontnamespace_packagesRBtaddRtpoptsorted(R	R9RH((sT/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/install_egg_info.pyR2ns		(sinstall-dir=Rsdirectory to install to(simport sys, types, oss@p = os.path.join(sys._getframe(1).f_locals['sitedir'], *%(pth)r)s2ie = os.path.exists(os.path.join(p,'__init__.py'))sIm = not ie and sys.modules.setdefault(%(pkg)r, types.ModuleType(%(pkg)r))s7mp = (m or []) and m.__dict__.setdefault('__path__',[])s(p not in mp) and mp.append(p)(s4m and setattr(sys.modules[%(parent)r], %(child)r, m)(t__name__t
__module__t__doc__tdescriptiontuser_optionsR
RR'R(R%R&RCREtclassmethodR5R2(((sT/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/install_egg_info.pyRs$				
			(t	distutilsRRRtsetuptools.extern.six.movesRt
setuptoolsRtsetuptools.archive_utilRRR(((sT/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/install_egg_info.pyt<module>s

Zerion Mini Shell 1.0