403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/cygwin64/lib/python3.6/site-packages/setuptools/command/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.6/site-packages/setuptools/command/__pycache__/install_lib.cpython-36.pyc
3

��a#�@sBddlZddlZddlmZmZddljjZGdd�dej�ZdS)�N)�product�starmapc@sZeZdZdZdd�Zdd�Zdd�Zedd	��Zd
d�Z	edd
��Z
ddd�Zdd�ZdS)�install_libz9Don't add compiled flags to filenames of non-Python filescCs&|j�|j�}|dk	r"|j|�dS)N)Zbuild�installZbyte_compile)�self�outfiles�r�!/usr/lib/python3.6/install_lib.py�run
szinstall_lib.runcs4�fdd��j�D�}t|�j��}tt�j|��S)z�
        Return a collections.Sized collections.Container of paths to be
        excluded for single_version_externally_managed installations.
        c3s"|]}�j|�D]
}|VqqdS)N)�
_all_packages)�.0Zns_pkg�pkg)rrr	�	<genexpr>sz-install_lib.get_exclusions.<locals>.<genexpr>)�_get_SVEM_NSPsr�_gen_exclusion_paths�setr�_exclude_pkg_path)rZall_packagesZ
excl_specsr)rr	�get_exclusionss
zinstall_lib.get_exclusionscCs$|jd�|g}tjj|jf|��S)zw
        Given a package name and exclusion path within that package,
        compute the full exclusion path.
        �.)�split�os�path�joinZinstall_dir)rr
Zexclusion_path�partsrrr	rszinstall_lib._exclude_pkg_pathccs$x|r|V|jd�\}}}qWdS)zn
        >>> list(install_lib._all_packages('foo.bar.baz'))
        ['foo.bar.baz', 'foo.bar', 'foo']
        rN)�
rpartition)Zpkg_name�sepZchildrrr	r'szinstall_lib._all_packagescCs,|jjsgS|jd�}|j}|r(|jjSgS)z�
        Get namespace packages (list) but only for
        single_version_externally_managed installations and empty otherwise.
        r)ZdistributionZnamespace_packagesZget_finalized_commandZ!single_version_externally_managed)rZinstall_cmdZsvemrrr	r1s

zinstall_lib._get_SVEM_NSPsccsbdVdVdVttd�s dStjjddtjj�}|dV|d	V|d
V|dVdS)zk
        Generate file paths to be excluded for namespace packages (bytecode
        cache files).
        z__init__.pyz__init__.pycz__init__.pyo�implementationN�__pycache__z	__init__.z.pycz.pyoz
.opt-1.pycz
.opt-2.pyc)�hasattr�sysrrrr�	cache_tag)�baserrr	rAs



z install_lib._gen_exclusion_paths�rc	sj|r|r|st�|j���s.tjj|||�Sddlm}ddlm�g����fdd�}||||��S)Nr)�unpack_directory)�logcs<|�kr�jd|�dS�jd|tjj|���j|�|S)Nz/Skipping installation of %s (namespace package)Fzcopying %s -> %s)�warn�inforr�dirname�append)�src�dst)�excluder$rrr	�pfhs
z!install_lib.copy_tree.<locals>.pf)	�AssertionErrorr�origr�	copy_treeZsetuptools.archive_utilr#Z	distutilsr$)	rZinfileZoutfileZ
preserve_modeZpreserve_timesZpreserve_symlinks�levelr#r,r)r+r$rr	r/Ws
zinstall_lib.copy_treecs.tjj|�}|j���r*�fdd�|D�S|S)Ncsg|]}|�kr|�qSrr)r�f)r+rr	�
<listcomp>ysz+install_lib.get_outputs.<locals>.<listcomp>)r.r�get_outputsr)rZoutputsr)r+r	r3us
zinstall_lib.get_outputsN)r"r"rr")
�__name__�
__module__�__qualname__�__doc__r
rr�staticmethodrrrr/r3rrrr	rs

r)	rr�	itertoolsrrZdistutils.command.install_libZcommandrr.rrrr	�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit