AlkantarClanX12

Your IP : 18.222.44.156


Current Path : /proc/thread-self/root/usr/lib/python2.7/site-packages/setuptools/
Upload File :
Current File : //proc/thread-self/root/usr/lib/python2.7/site-packages/setuptools/namespaces.pyc

�
�fc@sqddlZddlmZddlZddlmZejjZddd��YZ	de	fd��YZ
dS(	i����N(tlog(tmapt	Installerc	Bs_eZdZd�Zd�Zd�ZdZdZd�Zd�Z	d�Z
ed��ZRS(s
-nspkg.pthcCs�|j�}|sdStjj|j��\}}||j7}|jj|�tj	d|�t
|j|�}|jr�t
|�dSt|d��}|j|�WdQXdS(Ns
Installing %stwt(t_get_all_ns_packagestostpathtsplitextt_get_targett	nspkg_exttoutputstappendRtinfoRt_gen_nspkg_linetdry_runtlisttopent
writelines(tselftnsptfilenametexttlinestf((s9/usr/lib/python2.7/site-packages/setuptools/namespaces.pytinstall_namespacess
	
cCsbtjj|j��\}}||j7}tjj|�sAdStjd|�tj|�dS(NsRemoving %s(	RRRRR	texistsRRtremove(RRR((s9/usr/lib/python2.7/site-packages/setuptools/namespaces.pytuninstall_namespaces!s
cCs|jS(N(ttarget(R((s9/usr/lib/python2.7/site-packages/setuptools/namespaces.pyR)ssimport sys, types, oss#has_mfs = sys.version_info > (3, 5)s$p = os.path.join(%(root)s, *%(pth)r)s4importlib = has_mfs and __import__('importlib.util')s-has_mfs and __import__('importlib.machinery')s�m = has_mfs and sys.modules.setdefault(%(pkg)r, importlib.util.module_from_spec(importlib.machinery.PathFinder.find_spec(%(pkg)r, [os.path.dirname(p)])))sCm = m or 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)cCsdS(Ns$sys._getframe(1).f_locals['sitedir']((R((s9/usr/lib/python2.7/site-packages/setuptools/namespaces.pyt	_get_rootCscCs|t|�}t|jd��}|j�}|j}|jd�\}}}|rd||j7}ndj|�t�dS(Nt.t;s
(	tstrttupletsplitRt_nspkg_tmplt
rpartitiont_nspkg_tmpl_multitjointlocals(Rtpkgtpthtroott
tmpl_linestparenttseptchild((s9/usr/lib/python2.7/site-packages/setuptools/namespaces.pyR
Fs	cCs.|jjpg}ttt|j|���S(s,Return sorted list of all package namespaces(tdistributiontnamespace_packagestsortedtflattenRt
_pkg_names(Rtpkgs((s9/usr/lib/python2.7/site-packages/setuptools/namespaces.pyRQsccs8|jd�}x"|r3dj|�V|j�qWdS(s�
        Given a namespace package, yield the components of that
        package.

        >>> names = Installer._pkg_names('a.b.c')
        >>> set(names) == set(['a', 'a.b', 'a.b.c'])
        True
        RN(R"R&tpop(R(tparts((s9/usr/lib/python2.7/site-packages/setuptools/namespaces.pyR3Vs
	(	simport sys, types, oss#has_mfs = sys.version_info > (3, 5)s$p = os.path.join(%(root)s, *%(pth)r)s4importlib = has_mfs and __import__('importlib.util')s-has_mfs and __import__('importlib.machinery')s�m = has_mfs and sys.modules.setdefault(%(pkg)r, importlib.util.module_from_spec(importlib.machinery.PathFinder.find_spec(%(pkg)r, [os.path.dirname(p)])))sCm = m or 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__R	RRRR#R%RR
RtstaticmethodR3(((s9/usr/lib/python2.7/site-packages/setuptools/namespaces.pyRs$						tDevelopInstallercBseZd�Zd�ZRS(cCstt|j��S(N(treprR tegg_path(R((s9/usr/lib/python2.7/site-packages/setuptools/namespaces.pyRgscCs|jS(N(tegg_link(R((s9/usr/lib/python2.7/site-packages/setuptools/namespaces.pyRjs(R7R8RR(((s9/usr/lib/python2.7/site-packages/setuptools/namespaces.pyR:fs	((Rt	distutilsRt	itertoolstsetuptools.extern.six.movesRtchaint
from_iterableR2RR:(((s9/usr/lib/python2.7/site-packages/setuptools/namespaces.pyt<module>s[