403Webshell
Server IP : 104.21.21.239  /  Your IP : 216.73.216.55
Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.7
System : Linux ip-172-31-69-123.ec2.internal 6.1.177-224.371.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 27 20:28:29 UTC 2026 x86_64
User : ec2-user ( 1000)
PHP Version : 8.4.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.9/site-packages/setuptools/command/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/setuptools/command/__pycache__/install_lib.cpython-39.opt-1.pyc
a

H�8h#�@sHddlZddlZddlmZmZddlmmZGdd�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&|��|��}|dur"|�|�dS�N)Zbuild�installZbyte_compile)�self�outfiles�r	�B/usr/lib/python3.9/site-packages/setuptools/command/install_lib.py�run
szinstall_lib.runcs4�fdd����D�}t|����}tt�j|��S)z�
        Return a collections.Sized collections.Container of paths to be
        excluded for single_version_externally_managed installations.
        c3s"|]}��|�D]
}|VqqdSr)�
_all_packages)�.0Zns_pkg�pkg�rr	r
�	<genexpr>s�z-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&|�d�|g}tjj|jg|�R�S)zw
        Given a package name and exclusion path within that package,
        compute the full exclusion path.
        �.)�split�os�path�joinZinstall_dir)rrZexclusion_path�partsr	r	r
rszinstall_lib._exclude_pkg_pathccs |r|V|�d�\}}}qdS)zn
        >>> list(install_lib._all_packages('foo.bar.baz'))
        ['foo.bar.baz', 'foo.bar', 'foo']
        rN)�
rpartition)Zpkg_name�sep�childr	r	r
r'szinstall_lib._all_packagescCs,|jjsgS|�d�}|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_cmdZsvemr	r	r
r1s

zinstall_lib._get_SVEM_NSPsccsbdVdVdVttd�s dStj�ddtjj�}|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)�baser	r	r
rAs
�


z install_lib._gen_exclusion_paths�rc	sX|����stj�|||�Sddlm}ddlm�g����fdd�}||||��S)Nr)�unpack_directory)�logcs<|�vr��d|�dS��d|tj�|����|�|S)Nz/Skipping installation of %s (namespace package)Fzcopying %s -> %s)�warn�inforr�dirname�append)�srcZdst��excluder'rr	r
�pfhs�
z!install_lib.copy_tree.<locals>.pf)r�origr�	copy_treeZsetuptools.archive_utilr&Z	distutilsr')	rZinfileZoutfileZ
preserve_modeZpreserve_timesZpreserve_symlinks�levelr&r/r	r-r
r1Ws
zinstall_lib.copy_treecs.tj�|�}|����r*�fdd�|D�S|S)Ncsg|]}|�vr|�qSr	r	)r
�f�r.r	r
�
<listcomp>y�z+install_lib.get_outputs.<locals>.<listcomp>)r0r�get_outputsr)rZoutputsr	r4r
r7us
zinstall_lib.get_outputsN)r%r%rr%)
�__name__�
__module__�__qualname__�__doc__rrr�staticmethodrrrr1r7r	r	r	r
rs
	
�
r)	rr"�	itertoolsrrZdistutils.command.install_libZcommandrr0r	r	r	r
�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit