Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3.10/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

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

�*�g�r�
@sldZddlZddlZddlmZmZgd�ZdhZdddd	d
ddd
d�ddddd
ddd
d�ddddd
dddd�dddddddd
d�dddddddd
d�d�Zd d!�Z	e	�duZ
e
ryed"d"d#d#d$d%d&d'�d(d(d)d)d*d+d&d'�d,d,d-d-d*d+d&d'�d.�OZd'Zej�
�dZejd�d/ejd0��Zejd�ejd0��Zej�ej�Zej�ej�Zej�ej�Zej�ej�ZdadZd1Zd2Zd3Z d4d5�Z!ej"r�ej�#e!ej"��Z$ne!e�%��Z$ej&d6kr�e$�'��(d7�r�e!ej�)e$ee��Z$d8ej*vr�e!ej*d8�Z$d9d:�Z+e,ed;d�Z-ej&d6k�rd<d=�Z.e.e$�Z$e.e-�Z-d{d?d@�Z/e/dA�Z0e0�r:dBD]Z1ee1Z1e1dCe1dD<dEe1dC<dFe1dG<�q$dHdI�Z2dJdK�Z3dLdM�Z4dNdO�Z5dPdQ�Z6dRdS�Z7d|dTdU�Z8dVdW�Z9dXdY�Z:dZd[�Z;d\d]�Z<d^d_�Z=d}d`da�Z>dbdc�Z?ddde�Z@dfdg�ZAe7�ddAfdhdi�ZBe7�ddAfdjdk�ZCdldm�ZDdndo�ZEdpdq�ZFdrds�ZGdtdu�ZHdvdw�ZIdxdy�ZJeKdzk�r�eJ�dSdS)~z-Access to Python's configuration information.�N)�pardir�realpath)�get_config_h_filename�get_config_var�get_config_vars�get_makefile_filename�get_path�get_path_names�	get_paths�get_platform�get_python_version�get_scheme_names�parse_config_h�MACOSX_DEPLOYMENT_TARGETz6{installed_base}/{platlibdir}/python{py_version_short}z0{platbase}/{platlibdir}/python{py_version_short}z1{base}/lib/python{py_version_short}/site-packagesz>{platbase}/{platlibdir}/python{py_version_short}/site-packagesz;{installed_base}/include/python{py_version_short}{abiflags}z?{installed_platbase}/include/python{py_version_short}{abiflags}z
{base}/binz{base})�stdlib�
platstdlib�purelib�platlib�include�platinclude�scripts�dataz-{installed_base}/lib/python{py_version_short}z'{platbase}/lib/python{py_version_short}z {base}/lib/python3/dist-packagesz${platbase}/lib/python3/dist-packagesz7{base}/local/lib/python{py_version_short}/dist-packagesz;{platbase}/local/lib/python{py_version_short}/dist-packagesz{base}/local/binz{base}/localz{installed_base}/lib/pythonz{base}/lib/pythonz{installed_base}/include/pythonz{installed_base}/Libz
{base}/Libz{base}/Lib/site-packagesz{installed_base}/Includez{base}/Scripts)�posix_prefix�
deb_system�posix_local�
posix_home�ntcCs�tj�dd�}|r|StjdkrdSdd�}tjdkr(tj�d�p"d}||d�Stjd	krCtjrC|dd
tjtjd�dtjd
���S|dd�S)N�PYTHONUSERBASE�vxworkscWstj�tjj|��S�N)�os�path�
expanduser�join)�args�r%� /usr/lib/python3.10/sysconfig.py�joinuserasz_getuserbase.<locals>.joinuserr�APPDATA�~�Python�darwin�Libraryr�.�z.local)r �environ�get�sys�platform�name�
_framework�version_info)�env_baser'�baser%r%r&�_getuserbaseXs



�
r8z({userbase}/Python{py_version_nodot_plat}z6{userbase}/Python{py_version_nodot_plat}/site-packagesz0{userbase}/Python{py_version_nodot_plat}/Includez0{userbase}/Python{py_version_nodot_plat}/Scriptsz
{userbase})rrrrrrrz0{userbase}/{platlibdir}/python{py_version_short}z5{userbase}/lib/python{py_version_short}/site-packagesz+{userbase}/include/python{py_version_short}z{userbase}/binz{userbase}/lib/pythonz#{userbase}/lib/python/site-packages)�nt_user�
posix_user�osx_framework_userr-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_]*)}cCs"zt|�WSty|YSwr)r�OSError)r!r%r%r&�_safe_realpath�s

�r=r)z\pcbuild\win32z\pcbuild\amd64�_PYTHON_PROJECT_BASEcCs,dD]}tj�tj�|d|��rdSqdS)N)�SetupzSetup.local�ModulesTF)r r!�isfiler#)�d�fnr%r%r&�_is_python_source_dir�s
�rD�_homecCs0|rtj�|��tj�tj�td���rtS|S)N�PCbuild)r r!�normcase�
startswithr#�_PREFIX)rBr%r%r&�_fix_pcbuild�s
�rJFcCs|rtrtt�Stt�Sr)�	_sys_homerD�
_PROJECT_BASE)�
check_homer%r%r&�is_python_build�srNT)rrrrr�headersz{srcdir}/Includez{projectbase}/.rcCshz	|jdi|��WSty3}zz|jditj��WWYd}~Sty.t|��d�wd}~ww)Nr%)�format�KeyErrorr r/�AttributeError)�s�
local_vars�varr%r%r&�_subst_vars�s ���rVcCs0|��}|��D]
\}}||vrq|||<qdSr)�keys�items)�target_dict�
other_dict�target_keys�key�valuer%r%r&�_extend_dict�s
�r^cCsbi}|duri}t|t��t|��D]\}}tjdvr#tj�|�}tj�t	||��||<q|S)N)�posixr)
r^r�_INSTALL_SCHEMESrXr r3r!r"�normpathrV)�scheme�vars�resr\r]r%r%r&�_expand_vars�s
recCsztjdkrdddd�Stjdkrtjrdddd�Stjtjks$ttd�r'd}ntj�	d	d
�}|dvr5d}nd
}|dd
d�S)Nrrr9)�prefix�home�userr+rr;�real_prefix�DEB_PYTHON_INSTALL_LAYOUTr)�debrrr:)
r r3r1r2r4�base_prefixrf�hasattrr/r0)�
prefix_scheme�	deb_buildr%r%r&�_get_preferred_schemes�s(
���rpcCs*t�|}|tvrt|�d|�d���|S)Nz
 returned z., which is not a valid scheme on this platform)rpr`�
ValueError)r\rbr%r%r&�get_preferred_schemes
�rrcCstd�S)Nrf)rrr%r%r%r&�get_default_scheme%srsc	CsVddl}|dur
i}i}i}t|t��dd��}|��}Wd�n1s&wY|D]S}|�d�s:|��dkr;q-|�t|�}	|	r�|	�	dd�\}
}|��}|�
d	d�}d
|vr^|||
<q-z|
tvret�t
|�}Wnty{|�
d	d
�||
<Yq-w|||
<q-t|���}
d}t|
�dk�r�t|
�D]�}||}|�t|�}|�t|�}|r�|r�|��|��kr�|n|}	n|r�|n|}	|	du�r{|	�	d�}
d}|
|vr�t||
�}n@|
|vr�d
}n9|
tjvr�tj|
}n.|
|v�r|�d�r�|dd�|vr�d}nd|
|v�rd
}nt|d|
�}nd||
<}|�rz||	��d�}|d|	���||}d
|v�r5|||<q�z
|tv�r=t�t
|�}Wnt�yR|��||<Ynw|||<|
�|�|�d��rz|dd�|v�rz|dd�}||v�rz|||<q�|�r�|||<|
�|�q�t|
�dks�|��D]\}}t|t��r�|��||<�q�|�|�|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.
    rN�surrogateescape)�encoding�errors�#�r.�z$$�$)�CFLAGS�LDFLAGS�CPPFLAGSTF�PY_�)�re�openr1�getfilesystemencoding�	readlinesrH�strip�match�_variable_rx�group�replace�_ALWAYS_STRrq�int�listrW�len�tuple�search�_findvar1_rx�_findvar2_rx�start�strr r/�end�removerX�
isinstance�update)�filenamerc�keep_unresolvedr��done�notdone�f�lines�line�m�n�v�tmpv�	variables�renamed_variablesr3r]�m1�m2�found�item�after�kr%r%r&�_parse_makefile)s�
�
�
��







�

��D�
r�cCshtrtj�tptd�Sttd�rdt�tj	��}nd}ttj
d�r*|dtj
j��7}tj�td�|d�S)z Return the path of the Makefile.�Makefile�abiflagszconfig-�config�
_multiarch�-r)
�
_PYTHON_BUILDr r!r#rKrLrmr1�_PY_VERSION_SHORTr��implementationr�r)�config_dir_namer%r%r&r�s
rcCs*ttjdd�}tj�ddtj�d|���S)Nr�rx�_PYTHON_SYSCONFIGDATA_NAME�_sysconfigdata_�_)�getattrr1r�r r/r0r�)�	multiarchr%r%r&�_get_sysconfigdata_name�s
�r�c
Csddl}i}t�}zt||�Wn#ty3}zd|��}t|d�r+|�d|j�d�}t|��d}~wwt�}zt|dd��
}t||�Wd�n1sNwYWn#tyw}zd|��}t|d�ro|�d|j�d�}t|��d}~wwt	r�|d	|d
<t
�}dtjvr�ddl
}|�|�}	||	_|	tj|<dt��d
t��}
ttd�r�|
d7}
tj|
dd�tj�|
|d�}t|ddd��}|�d�|�d�|j||d�Wd�n1s�wYtdddd��}|�|
�Wd�dS1s�wYdS)z;Generate the Python module containing build-time variables.rNz,invalid Python installation: unable to open �strerrorz (�)zutf-8)ru�LDSHARED�	BLDSHAREDr+z
build/lib.r��gettotalrefcountz-pydebugT)�exist_okz.py�w�utf8zB# system configuration generated and used by the sysconfig module
zbuild_time_vars = )�streamzpybuilddir.txt)�pprintrr�r<rmr�rr�rr�r�r1r2�types�
ModuleType�build_time_vars�modulesrr�r �makedirsr!r#�write)r�rc�makefile�e�msg�config_hr�r3r��module�
pybuilddir�destfiler%r%r&�_generate_posix_vars�s\

����

��





�"�r�cCs0t�}t|t�t�dgd�}|j}|�|�dS)z7Initialize the module as appropriate for POSIX systems.r�rN)r��
__import__�globals�localsr�r�)rcr3�_tempr�r%r%r&�_init_posix�sr�cCsnddl}td�|d<td�|d<td�|d<|��d|d	<d
|d<t|d<tj�ttj	��|d
<d|d<dS)z+Initialize the module as appropriate for NTrNr�LIBDESTr�
BINLIBDESTr�	INCLUDEPY�
EXT_SUFFIXz.exe�EXE�VERSION�BINDIRrx�TZPATH)
�_impr�extension_suffixes�_PY_VERSION_SHORT_NO_DOTr r!�dirnamer=r1�
executable)rcr�r%r%r&�_init_non_posixsr�c	Cs�|duri}ddl}|�d�}|�d�}	|��}|s	|S|�|�}|rH|�dd�\}}z|tvr4t�t|�}Wn	tyBYnw|||<n|�|�}|rVd||�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.
    Nrz"#define ([A-Z][A-Za-z0-9_]+) (.*)
z&/[*] #undef ([A-Z][A-Za-z0-9_]+) [*]/
Tr.ry)r��compile�readliner�r�r�rqr�)	�fprcr��	define_rx�undef_rxr�r�r�r�r%r%r&rs2


��

�rcCsDtrtjdkrtj�tp
td�}n
tpt}ntdd�}tj�|d�S)zReturn the path of pyconfig.h.r�PCrrz
pyconfig.h)r�r r3r!r#rKrLr)�inc_dirr%r%r&r9s


rcCsttt��S)z,Return a tuple containing the schemes names.)r��sortedr`r%r%r%r&r
Esr
cC�tS)z*Return a tuple containing the paths names.)�_SCHEME_KEYSr%r%r%r&r	Jsr	cCs|rt||�St|S)z�Return a mapping containing an install scheme.

    ``scheme`` is the install scheme name. If not provided, it will
    return the default scheme for the current platform.
    )rer`)rbrc�expandr%r%r&r
Os
r
cCst|||�|S)z[Return a path corresponding to the scheme.

    ``scheme`` is the install scheme name.
    )r
)r3rbrcr�r%r%r&r[srcGs�tdur�iattd<ttd<ttd<ttd<ttd<ttd<ttd<ttd	<ttd
<ttd<t	j
td<zt	jtd
<Wn
tyGdtd
<Ynwzt	j
�dd�td<Wn
ty`dtd<Ynwtjdkrjtt�tjdkrstt�t�d�}|dur�|td<tr�t�td<td�}|r�d|td<ndtd<t�dt�}tjdkr�tr�tj�t��}tj�||�}ntj�t��}t|�td<t	jdkr�ddl}|�t�|r�g}|D]
}|� t�|��q�|StS)anWith no arguments, return a dictionary of all configuration
    variables relevant for the current platform.

    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.
    Nrf�exec_prefix�
py_version�py_version_short�py_version_nodot�installed_baser7�installed_platbase�platbase�projectbase�
platlibdirr�rxr-�py_version_nodot_platrr_r��SO�userbase�	MULTIARCH�/�multiarchsubdir�srcdirr+r)!�_CONFIG_VARSrI�_EXEC_PREFIX�_PY_VERSIONr�r��_BASE_PREFIX�_BASE_EXEC_PREFIXrLr1r�r�rR�winverr�r r3r�r�r0�_HAS_USER_BASEr8rr�r!r�rr#r=r2�_osx_support�customize_config_vars�append)r$r�r�r�r7r�valsr3r%r%r&rcsh
��






rcCs*|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_SUFFIXry)�warnings�warn�DeprecationWarningrr0)r3rr%r%r&r�srcCs�tjdkr#dtj��vrdSdtj��vrdSdtj��vr dStjStjdks-ttd	�s0tjSd
tjvr:tjd
St��\}}}}}|���	dd�}|�	d
d�}|�	dd�}|dd�dkrf|�d|��S|dd�dkr�|ddkr�d}t
|d�d�d|dd���}ddd�}|d|tj��7}nH|dd�dkr�ddlm
}|�S|dd�d kr�d }ddl}|�d!�}|�|�}	|	r�|	��}n|dd�d"kr�ddl}
|
�t�|||�\}}}|�d|�d|��S)#a�Return a string that identifies the current platform.

    This is used mainly to distinguish platform-specific build directories and
    platform-specific built distributions.  Typically includes the OS name and
    version and the architecture (as supplied by 'os.uname()'), although the
    exact information included depends on the OS; on Linux, the kernel version
    isn't particularly important.

    Examples of returned values:
       linux-i586
       linux-alpha (?)
       solaris-2.6-sun4u

    Windows will return one of:
       win-amd64 (64bit Windows on AMD64 (aka x86_64, Intel64, EM64T, etc)
       win32 (all others - specifically, sys.platform is returned)

    For other non-POSIX platforms, currently just returns 'sys.platform'.

    r�amd64z	win-amd64z(arm)z	win-arm32z(arm64)z	win-arm64r_�uname�_PYTHON_HOST_PLATFORMr�rx� r�r�N��linux�sunosr�5�solarisrr-ry�32bit�64bit)i���l�����aix)�aix_platform��cygwinz[\d.]+r+)r r3r1�version�lowerr2rmr/rr�r��maxsize�_aix_supportrr�r�r�r�r�get_platform_osxr)�osname�host�releaser�machine�bitnessrr��rel_rer�rr%r%r&r�sV


"
�

�
�rcCr�r)r�r%r%r%r&rsrcCsdddl}	|�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'.
    rNTr.)r�r�r�r��spanr0r�)rSrcr�r��begr�r%r%r&�expand_makefile_varss*�r*cCsNtt|����D]\}\}}|dkrt|�d��td|�d|�d��qdS)Nrz: �	z = "�")�	enumerater�rX�print)�titler�indexr\r]r%r%r&�_print_dict7s
�r1cCsrdtjvr
t�dStdt��d��tdt��d��tdt��d��t�tdt��t�tdt	��dS)	z*Display all information sysconfig detains.z--generate-posix-varsNzPlatform: "r,zPython version: "zCurrent installation scheme: "�Paths�	Variables)
r1�argvr�r.rrrsr1r
rr%r%r%r&�_main>s
r5�__main__)F)NTr)L�__doc__r r1�os.pathrr�__all__r�r`r8rr�r�splitrr5r�r�r!rarfrIrlrr�r�base_exec_prefixrr�
_USER_BASEr�r�r�r=r�r�rL�getcwdr3r�endswithr#r/rDr�rKrJrNr�rbrVr^rerprrrsr�rr�r�r�r�rrr
r	r
rrrrrr*r1r5�__name__r%r%r%r&�<module>s(��
�
�
���>
�
�
��
�

	
 


?
"YQ

�

Spamworldpro Mini