404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.16.130.151: ~ $
3

9��f�@sRddlZddlmZddlZddlmZejjZGdd�d�Z	Gdd�de	�Z
dS)�N)�log)�mapc	@sTeZdZdZdd�Zdd�Zdd�ZdZdZdd�Z	dd�Z
dd�Zedd��Z
dS)�	Installerz
-nspkg.pthc	Cs�|j�}|sdStjj|j��\}}||j7}|jj|�tj	d|�t
|j|�}|jrdt
|�dSt|d��}|j|�WdQRXdS)Nz
Installing %sZwt)�_get_all_ns_packages�os�path�splitext�_get_target�	nspkg_extZoutputs�appendr�infor�_gen_nspkg_lineZdry_run�list�open�
writelines)�selfZnsp�filename�ext�lines�f�r� /usr/lib/python3.6/namespaces.py�install_namespacess
zInstaller.install_namespacescCsHtjj|j��\}}||j7}tjj|�s.dStjd|�tj|�dS)NzRemoving %s)	rrrr	r
�existsrr�remove)rrrrrr�uninstall_namespaces!s
zInstaller.uninstall_namespacescCs|jS)N)�target)rrrrr	)szInstaller._get_target�import sys, types, os�#has_mfs = sys.version_info > (3, 5)�$p = os.path.join(%(root)s, *%(pth)r)�4importlib = has_mfs and __import__('importlib.util')�-has_mfs and __import__('importlib.machinery')��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)])))�Cm = m or sys.modules.setdefault(%(pkg)r, types.ModuleType(%(pkg)r))�7mp = (m or []) and m.__dict__.setdefault('__path__',[])�(p not in mp) and mp.append(p)�4m and setattr(sys.modules[%(parent)r], %(child)r, m)cCsdS)Nz$sys._getframe(1).f_locals['sitedir']r)rrrr�	_get_rootCszInstaller._get_rootcCsVt|�}t|jd��}|j�}|j}|jd�\}}}|rB||j7}dj|�t�dS)N�.�;�
)	�str�tuple�splitr'�_nspkg_tmpl�
rpartition�_nspkg_tmpl_multi�join�locals)r�pkgZpth�rootZ
tmpl_lines�parent�sepZchildrrrr
Fs
zInstaller._gen_nspkg_linecCs |jjp
g}ttt|j|���S)z,Return sorted list of all package namespaces)ZdistributionZnamespace_packages�sorted�flattenr�
_pkg_names)rZpkgsrrrrQszInstaller._get_all_ns_packagesccs,|jd�}x|r&dj|�V|j�qWdS)z�
        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
        r(N)r-r1�pop)r3�partsrrrr9Vs

zInstaller._pkg_namesN)	rrrr r!r"r#r$r%)r&)�__name__�
__module__�__qualname__r
rrr	r.r0r'r
r�staticmethodr9rrrrrs$rc@seZdZdd�Zdd�ZdS)�DevelopInstallercCstt|j��S)N)�reprr+Zegg_path)rrrrr'gszDevelopInstaller._get_rootcCs|jS)N)Zegg_link)rrrrr	jszDevelopInstaller._get_targetN)r<r=r>r'r	rrrrr@fsr@)rZ	distutilsr�	itertoolsZsetuptools.extern.six.movesr�chain�
from_iterabler8rr@rrrr�<module>s[

Filemanager

Name Type Size Permission Actions
__init__.cpython-36.opt-1.pyc File 6.07 KB 0644
__init__.cpython-36.pyc File 6.07 KB 0644
archive_util.cpython-36.opt-1.pyc File 4.95 KB 0644
archive_util.cpython-36.pyc File 4.95 KB 0644
build_meta.cpython-36.opt-1.pyc File 5.62 KB 0644
build_meta.cpython-36.pyc File 5.7 KB 0644
config.cpython-36.opt-1.pyc File 14.64 KB 0644
config.cpython-36.pyc File 14.64 KB 0644
dep_util.cpython-36.opt-1.pyc File 786 B 0644
dep_util.cpython-36.pyc File 786 B 0644
depends.cpython-36.opt-1.pyc File 5.09 KB 0644
depends.cpython-36.pyc File 5.09 KB 0644
dist.cpython-36.opt-1.pyc File 35.9 KB 0644
dist.cpython-36.pyc File 35.94 KB 0644
extension.cpython-36.opt-1.pyc File 1.86 KB 0644
extension.cpython-36.pyc File 1.86 KB 0644
glibc.cpython-36.opt-1.pyc File 1.44 KB 0644
glibc.cpython-36.pyc File 1.44 KB 0644
glob.cpython-36.opt-1.pyc File 3.63 KB 0644
glob.cpython-36.pyc File 3.69 KB 0644
launch.cpython-36.opt-1.pyc File 785 B 0644
launch.cpython-36.pyc File 785 B 0644
lib2to3_ex.cpython-36.opt-1.pyc File 2.31 KB 0644
lib2to3_ex.cpython-36.pyc File 2.31 KB 0644
monkey.cpython-36.opt-1.pyc File 4.5 KB 0644
monkey.cpython-36.pyc File 4.5 KB 0644
msvc.cpython-36.opt-1.pyc File 33.66 KB 0644
msvc.cpython-36.pyc File 33.66 KB 0644
namespaces.cpython-36.opt-1.pyc File 3.52 KB 0644
namespaces.cpython-36.pyc File 3.52 KB 0644
package_index.cpython-36.opt-1.pyc File 31.41 KB 0644
package_index.cpython-36.pyc File 31.41 KB 0644
pep425tags.cpython-36.opt-1.pyc File 7.1 KB 0644
pep425tags.cpython-36.pyc File 7.1 KB 0644
py27compat.cpython-36.opt-1.pyc File 742 B 0644
py27compat.cpython-36.pyc File 742 B 0644
py31compat.cpython-36.opt-1.pyc File 1.45 KB 0644
py31compat.cpython-36.pyc File 1.45 KB 0644
py33compat.cpython-36.opt-1.pyc File 1.3 KB 0644
py33compat.cpython-36.pyc File 1.3 KB 0644
py36compat.cpython-36.opt-1.pyc File 2.09 KB 0644
py36compat.cpython-36.pyc File 2.09 KB 0644
sandbox.cpython-36.opt-1.pyc File 15.29 KB 0644
sandbox.cpython-36.pyc File 15.29 KB 0644
site-patch.cpython-36.opt-1.pyc File 1.4 KB 0644
site-patch.cpython-36.pyc File 1.4 KB 0644
ssl_support.cpython-36.opt-1.pyc File 6.56 KB 0644
ssl_support.cpython-36.pyc File 6.56 KB 0644
unicode_utils.cpython-36.opt-1.pyc File 1.07 KB 0644
unicode_utils.cpython-36.pyc File 1.07 KB 0644
version.cpython-36.opt-1.pyc File 259 B 0644
version.cpython-36.pyc File 259 B 0644
wheel.cpython-36.opt-1.pyc File 6.01 KB 0644
wheel.cpython-36.pyc File 6.04 KB 0644
windows_support.cpython-36.opt-1.pyc File 942 B 0644
windows_support.cpython-36.pyc File 942 B 0644