AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.10/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /lib/python3.10/__pycache__/_distutils_system_mod.cpython-310.pyc
o

}�5h��@s�dZddlZddlZddlZddlZddlmmZ	ddl
mmZddl
m
Z
mZmZddlmZGdd�de	j�ZGdd�dej�Zd	d
�Zdd�Zd
d�Zdd�Zdd�Zdd�Ze�dS)a
Apply Debian-specific patches to distutils commands.

Extracts the customized behavior from patches as reported
in pypa/distutils#2 and applies those customizations (except
for scheme definitions) to those commands.

Place this module somewhere in sys.path to take effect.
�N)�to_filename�	safe_name�safe_version)�DistutilsOptionErrorcsFeZdZeejj�dgZ�fdd�Z�fdd�Z�fdd�Z	�Z
S)�install)zinstall-layout=Nz7installation layout to choose (known values: deb, unix)c�t���d|_d|_dS�N��super�initialize_options�
prefix_option�install_layout��self��	__class__��,/usr/lib/python3.10/_distutils_system_mod.pyr �

zinstall.initialize_optionscs�|dkrH|jr|j��dvrd}n7|j��dvrd}n-td��|jr+tj�|j�dks.t�r1d}ntj�|j�dkrFd|_|_	d|_
|_d}t��
|�dS)	N�posix_prefix)�deb�
deb_system)�unix�"unknown value for --install-layout�
/usr/local�/usr�posix_local)r
�lowerrr�os�path�normpath�prefix�is_virtual_environment�exec_prefix�install_base�install_platbaser
�
select_scheme)r�namerrrr&%s&��zinstall.select_schemecs|j|_t���dSr)r!rr
�
finalize_unixrrrrr(:szinstall.finalize_unix)�__name__�
__module__�__qualname__�list�orig_installr�user_optionsrr&r(�
__classcell__rrrrrs
�rcsFeZdZeejj�dgZ�fdd�Z�fdd�Ze	dd��Z
�ZS)�install_egg_info)zinstall-layoutNzcustom installation layoutcrrr	rrrrrDrz#install_egg_info.initialize_optionscs&|�dd�|�dd�t���dS)Nr)r
r
)rr)�set_undefined_optionsr
�finalize_optionsrrrrr2Isz!install_egg_info.finalize_optionscCs�|jr|j��dvrtd��|j��dk}n|jrd}nd}|r6dtt|j����tt|j�	���f}|Sdtt|j����tt|j�	���gt
jdd��R}|S)	N)rrrrFTz%s-%s.egg-infoz%s-%s-py%d.%d.egg-info�)r
rrrrr�distribution�get_namer�get_version�sys�version_info)r�no_pyver�basenamerrrr:Ns,��
���zinstall_egg_info.basename)r)r*r+r,�orig_install_egg_infor0r.rr2�propertyr:r/rrrrr0?s
�r0cCstjtjkp
ttd�S)N�real_prefix)r7�base_prefixr!�hasattrrrrrr"gsr"cCsH|p
tj�|�dv}|r|S|rt�stj�|ddd�Stj�|d�S)N)rr�lib�python3z
dist-packagesz
site-packages)rrr r"�join)�standard_lib�	libpython�early_prefixr!�is_default_prefixrrr�
_posix_libks
rGcCsPd|vr&|dkr
|d}ntjdd}|dkr"d|vr"|�dd�}||d<|S)aN
    Given a scheme name and the resolved scheme,
    if the scheme does not include headers, resolve
    the fallback scheme for the name and use headers
    from it. pypa/distutils#88

    headers: module headers install location (posix_local is /local/ prefixed)
    include: cpython headers (Python.h)
    See also: bpo-44445
    �headersr�includerz/local/z	/include/z/local/include/)r-�INSTALL_SCHEMES�replace)r'�schemerHrrr�_inject_headersus
rMcs�fdd�}|S)z�
    Implement the _inject_headers modification, above, but before
    _inject_headers() was introduced, upstream. So, slower and messier.
    cs&��}|��D]	\}}t||�q|Sr)�itemsrM��schemesr'rL��
_load_schemesrr�wrapped_load_schemes�sz2load_schemes_wrapper.<locals>.wrapped_load_schemesr)rRrSrrQr�load_schemes_wrapper�srTcCs2dD]}||vrtj|dd�}t||�||<qdS)zR
    Ensure that the custom schemes we refer to above are present in schemes.
    )rrrF)�expandN)�	sysconfig�	get_pathsrMrOrrr�add_debian_schemes�s��rXcCsPtt_tt_ttj_ttd�rtt_dSttd�r!t	tj
�t_
dSttj�dS)NrMrR)
rr-r0r;rG�	distutilsrVr?rMrTrRrXrJrrrr�apply_customizations�s


rZ)�__doc__rr7rV�distutils.sysconfigrY�distutils.command.install�commandrr-�"distutils.command.install_egg_infor0r;rrr�distutils.errorsrr"rGrMrTrXrZrrrr�<module>s$
%(





Anon7 - 2022
AnonSec Team