⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.40
Server IP:
97.74.87.16
Server:
Linux 16.87.74.97.host.secureserver.net 5.14.0-503.38.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 18 08:52:10 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib64
/
python3.9
/
__pycache__
/
View File Name :
sysconfig.cpython-39.pyc
a ����G��g�c������������������� ���@���s��d�Z�ddlZddlZddlmZmZ�g�d�ZdhZdddd d ddd d�dddddddd d�dddddddd d�dddddddd�ddddd d!dd�d"d"d#d#d$d!dd�d%�Zd&Z e ed'�s�ejejks�d(ej vr�d)ZdZej���d�Zd*ejdd+���Zd,ejdd+���Zej�ej�Zej�ej�Zej�ej�Zej�ej�ZdadZd-d.��Z ej!�rlej�"e ej!��Z#ne e�$���Z#ej%d/k�r�e#�&���'d0��r�e ej�(e#ee��Z#d1ej v��r�e ej d1��Z#d2d3��Z)e*ed4d�Z+ej%d/k�r�d5d6��Z,e,e#�Z#e,e+�Z+dnd7d8�Z-e-d9�Z.e.�r6d:D�]Z/d;ee/�d<<�d=ee/�d><��qd?d@��Z0dAdB��Z1dCdD��Z2dEdF��Z3dGdH��Z4dodIdJ�Z5dKdL��Z6dMdN��Z7dOdP��Z8dQdR��Z9dSdT��Z:dpdUdV�Z;dWdX��Z<dYdZ��Z=d[d\��Z>e3��dd9fd]d^�Z?e3��dd9fd_d`�Z@dadb��ZAdcdd��ZBdedf��ZCdgdh��ZDdidj��ZEdkdl��ZFeGdmk�reF���dS�)qz-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_hZMACOSX_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/pythonz{base}/lib/pythonz{installed_base}/include/pythonz{installed_base}/Libz {base}/Libz{base}/Lib/site-packagesz{installed_base}/Includez{base}/Scriptsz#{userbase}/Python{py_version_nodot}z1{userbase}/Python{py_version_nodot}/site-packagesz+{userbase}/Python{py_version_nodot}/Includez+{userbase}/Python{py_version_nodot}/Scriptsz {userbase})r���r���r���r���r���r���r���z0{userbase}/{platlibdir}/python{py_version_short}z5{userbase}/lib/python{py_version_short}/site-packagesz>{userbase}/{platlibdir}/python{py_version_short}/site-packagesz+{userbase}/include/python{py_version_short}z{userbase}/binz{userbase}/lib/pythonz#{userbase}/lib/python/site-packagesz{userbase}/include)�posix_prefix� posix_home�ntZnt_userZ posix_userZosx_framework_userFZreal_prefix�RPM_BUILD_ROOTz/local�%d.%d����z%d%dc�����������������C���s&���z t�|��W�S��ty ���|��Y�S�0�d�S��N)r����OSError)�path��r ����!/usr/lib64/python3.9/sysconfig.py�_safe_realpathx���s���� r"���r���)z\pcbuild\win32z\pcbuild\amd64Z_PYTHON_PROJECT_BASEc�����������������C���s,���dD�]"}t�j�t�j�|�d|��r�dS�qdS�)N)ZSetupzSetup.localZModulesTF)�osr����isfile�join)�d�fnr ���r ���r!����_is_python_source_dir����s����r(����_homec�����������������C���s0���|�r,t�j�|���t�j�t�j�td���r,tS�|�S�)NZPCbuild)r#���r����normcase� startswithr%����_PREFIX)r&���r ���r ���r!����_fix_pcbuild����s �����r-���c�����������������C���s���|�rt�rtt��S�tt�S�r���)� _sys_homer(���� _PROJECT_BASE)Z check_homer ���r ���r!����is_python_build����s����r0���T)r���r���z{srcdir}/Includer���z{projectbase}/.r���c�������������� ���C���sv���z|�j�f�i�|��W�S��typ���z|�j�f�i�tj��W��Y�S��tyj�}�ztd|��d��W�Y�d�}~n d�}~0�0�Y�n0�d�S�)Nz{%s})�format�KeyErrorr#����environ�AttributeError)�sZ local_vars�varr ���r ���r!����_subst_vars����s����r7���c�����������������C���s0���|�����}|���D�]\}}||v�r"q||�|<�qd�S�r���)�keys�items)Ztarget_dictZ other_dictZtarget_keys�key�valuer ���r ���r!����_extend_dict����s ����r<���c�����������������C���sb���i�}|d�u�ri�}t�|t����t|�����D�]4\}}tjdv�rFtj�|�}tj�t ||��||<�q(|S�)N)�posixr���) r<���r����_INSTALL_SCHEMESr9���r#����namer���� expanduser�normpathr7���)�scheme�vars�resr:���r;���r ���r ���r!����_expand_vars����s���� rE���c�������������������C���s���t�jdkrdS�t�jS�)Nr=���r���)r#���r?���r ���r ���r ���r!����_get_default_scheme����s���� rF���c������������������C���sz���t�j�dd��}�|�r|�S�dd��}t�jdkrBt�j�d�p6d}||d�S�tjdkrptjrp|dd tjd tjd�d����S�|dd�S�) N�PYTHONUSERBASEc������������������W���s���t�j�t�jj|����S�r���)r#���r���r@���r%���)�argsr ���r ���r!����joinuser����s����z_getuserbase.<locals>.joinuserr����APPDATA�~�Python�darwin�Libraryr���r���z.local)r#���r3����getr?����sys�platform� _framework�version_info)�env_baserI����baser ���r ���r!����_getuserbase����s���� �rV���c�������������� ���C���sr��ddl�}|�d�}|�d�}|�d�}|du�r2i�}i�}i�}t|�dd��}|���} W�d����n1�sd0����Y��| D�]�} | �d�sr| ���d kr�qr|�| �}|rr|�d d�\}} | ���} | �dd �}d |v�r�| ||<�qrz|t v�r�t �t| �} W�n$�t �y���| �dd �||<�Y�qr0�| ||<�qrt|� ���}d}t|�dk�r8t|�D��]�}||�}|�|�}|�|�}|�r�|�r�|���|���k��r�|n|}n|�r�|n|}|du�r|�d �}d}||v��r�t||��}n�||v��r�d}nx|tjv��r�tj|�}n`||v��rD|�d��r|dd��|v��rd }n$d|�|v��r2d}nt|d|���}nd �||<�}|�r0||���d��}|d|�����|�|�}d |v��r�|||<�n�z|t v��r�t �t|�}W�n �t �y����|���||<�Y�n 0�|||<�|�|��|�d��r0|dd��|v��r0|dd��}||v�r0|||<�n|||<�|�|���q@�q*|���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. r���Nz"([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_]*)}�surrogateescape)�errors�#������r���z$$�$)ZCFLAGSZLDFLAGSZCPPFLAGSTFZPY_����)�re�compile�open� readlinesr+����strip�match�group�replace�_ALWAYS_STR� ValueError�int�listr8����len�tuple�search�start�strr#���r3����end�remover9���� isinstance�update)�filenamerC���r^���Z_variable_rxZ_findvar1_rxZ_findvar2_rx�doneZnotdone�f�lines�line�m�n�vZtmpvZ variablesZrenamed_variablesr?���r;���Zm1Zm2�found�itemZafter�kr ���r ���r!����_parse_makefile����s����� & � � r~���c������������������C���sd���t�rtj�tptd�S�ttd�r0dttj f�}�nd}�ttj d�rP|�dtj j�7�}�tj�td�|�d�S�)z Return the path of the Makefile.ZMakefile�abiflagszconfig-%s%sZconfig� _multiarchz-%sr���) � _PYTHON_BUILDr#���r���r%���r.���r/����hasattrrP����_PY_VERSION_SHORTr����implementationr����r���)Zconfig_dir_namer ���r ���r!���r���f��s���� r���c���������������� ���C���s(���t�j�ddjtjtjttjdd�d��S�)NZ_PYTHON_SYSCONFIGDATA_NAMEz+_sysconfigdata_{abi}_{platform}_{multiarch}r����rZ���)ZabirQ���Z multiarch) r#���r3���rO���r1���rP���r���rQ����getattrr����r ���r ���r ���r!����_get_sysconfigdata_names��s������r����c��������������� ���C���s��ddl�}�i�}t��}zt||��W�nL�tyl�}�z4d|�}t|d�rP|d|j��}t|��W�Y�d}~n d}~0�0�t��}z6t|��}t||��W�d����n1�s�0����Y��W�nL�ty��}�z4d|�}t|d�r�|d|j��}t|��W�Y�d}~n d}~0�0�t �r |d�|d<�t ��}dtjv��r>ddl }|�|�} || _| tj|<�d t��tf�} ttd ��r`| d7�} tj| dd ��tj�| |d��}t|ddd��2}|�d��|�d��|�j�||d��W�d����n1��s�0����Y��tdddd��}|�| ��W�d����n1��s0����Y��dS�)z;Generate the Python module containing build-time variables.r���Nz.invalid Python installation: unable to open %s�strerrorz (%s)ZLDSHAREDZ BLDSHAREDrM���zbuild/lib.%s-%sZgettotalrefcountz-pydebugT)�exist_okz.py�w�utf8)�encodingzB# system configuration generated and used by the sysconfig module zbuild_time_vars = )�streamzpybuilddir.txt)�pprintr���r~���r���r����r����r���r`���r���r����r����rP���rQ����types� ModuleType�build_time_vars�modulesr���r����r#����makedirsr���r%����write)r����rC����makefile�e�msgZconfig_hru���r?���r�����moduleZ pybuilddirZdestfiler ���r ���r!����_generate_posix_vars|��sL���� , .r����c�����������������C���s0���t���}t|t��t��dgd�}|j}|��|��dS�)z7Initialize the module as appropriate for POSIX systems.r����r���N)r����� __import__�globals�localsr����rr���)rC���r?���Z_tempr����r ���r ���r!����_init_posix���s����r����c�����������������C���sf���ddl�}td�|�d<�td�|�d<�td�|�d<�|���d�|�d <�d |�d<�t|�d<�tj�ttj ��|�d <�dS�)z+Initialize the module as appropriate for NTr���Nr���ZLIBDESTr���Z BINLIBDESTr���Z INCLUDEPY� EXT_SUFFIXz.exeZEXE�VERSIONZBINDIR) �_impr����extension_suffixes�_PY_VERSION_SHORT_NO_DOTr#���r����dirnamer"���rP���� executable)rC���r����r ���r ���r!����_init_non_posix���s����r����c����������� ������C���s����|du�ri�}ddl�}|�d�}|�d�}|����}|s6q�|�|�}|r�|�dd�\}}z|tv�rbt�t|�}W�n�ty~���Y�n0�|||<�q(|�|�}|r(d||�d�<�q(|S�)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. Nr���z"#define ([A-Z][A-Za-z0-9_]+) (.*) z&/[*] #undef ([A-Z][A-Za-z0-9_]+) [*]/ r[���r���)r^���r_����readlinerc���rd���rf���rg���rh���) �fprC���r^���Z define_rxZundef_rxrw���rx���ry���rz���r ���r ���r!���r������s,���� r���c������������������C���sB���t�r,tjdkr"tj�tptd�}�q4tp(t}�ntd�}�tj�|�d�S�)zReturn the path of pyconfig.h.r���ZPCr���z pyconfig-64.h)r����r#���r?���r���r%���r.���r/���r���)Zinc_dirr ���r ���r!���r������s���� r���c�������������������C���s���t�tt��S�)z,Return a tuple containing the schemes names.)rk����sortedr>���r ���r ���r ���r!���r �����s����r ���c�������������������C���s���t�S�)z*Return a tuple containing the paths names.)�_SCHEME_KEYSr ���r ���r ���r!���r �����s����r ���c�����������������C���s���|rt�|�|�S�t|��S�dS�)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. N)rE���r>���)rB���rC����expandr ���r ���r!���r �����s���� r ���c�����������������C���s���t�|||�|��S�)z[Return a path corresponding to the scheme. ``scheme`` is the install scheme name. )r ���)r?���rB���rC���r����r ���r ���r!���r�����s����r���c������������������G���s���t�du��rVi�a�tt�d<�tt�d<�tt�d<�tt�d<�tt�d<�tt�d<�tt�d<�tt�d <�tt�d <�tt�d<�t j t�d<�zt jt�d <�W�n�ty����dt�d <�Y�n0�t jdkr�tt���dt�d<�t jdkr�tt���t��d�}|dur�|t�d<�t��t�d<�t��dt�}t jdk�r,t�rt j�t���}t j�||�}nt j�t���}t|�t�d<�t jdk�rVddl}|�t���|��r�g�}|�D�]}|�t��|����qd|S�t�S�dS�)an��With 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. N�prefix�exec_prefixZ py_versionZpy_version_shortZpy_version_nodotZinstalled_baserU���Zinstalled_platbaseZplatbaseZprojectbase� platlibdirr���rZ���r���ZTZPATHr=���r�����SO�userbase�srcdirrM���r���)�_CONFIG_VARSr,����_EXEC_PREFIX�_PY_VERSIONr����r�����_BASE_PREFIX�_BASE_EXEC_PREFIXr/���rP���r����r���r4���r#���r?���r����r����rO���rV���r����r���r����r���r%���r"���rQ����_osx_supportZcustomize_config_vars�append)rH���r����r����rU���r����Zvalsr?���r ���r ���r!���r��� ��sT���� r���c�����������������C���s*���|�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����r���Nz SO is deprecated, use EXT_SUFFIXr���)�warnings�warn�DeprecationWarningr���rO���)r?���r����r ���r ���r!���r���o��s����r���c������������������C���s���t�jdkrFdtj���v�rdS�dtj���v�r.dS�dtj���v�r@dS�tjS�t�jdksZtt�d �s`tjS�d t�jv�rtt�jd �S�t����\}�}}}}|����� dd�}�|� d d�}|� dd�}|�dd��dkr�d|�|f�S�|�dd��dk�r,|d�dk�r�d}�dt |d��d�|dd��f�}ddd�}|d|tj��7�}n�|�dd��dk�rPdd lm }�|��S�|�dd!��d"k�r�d"}�ddl}|�d#�}|�|�} | �r�| ���}n2|�dd!��d$k�r�ddl} | �t��|�||�\}�}}d%|�||f�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���Zamd64z win-amd64z(arm)z win-arm32z(arm64)z win-arm64r=����unameZ_PYTHON_HOST_PLATFORM�/rZ���� �_�-N�����linuxz%s-%sZsunosr����5Zsolarisz%d.%sr]���r���Z32bitZ64bit)i���l��������z.%sZaix)�aix_platform�����cygwinz[\d.]+rM���z%s-%s-%s)r#���r?���rP����version�lowerrQ���r����r3���r����re���rh����maxsizeZ_aix_supportr����r^���r_���rc���rd���r����Zget_platform_osxr���)Zosname�host�releaser�����machineZbitnessr����r^���Zrel_rerx���r����r ���r ���r!���r���{��sR���� � r���c�������������������C���s���t�S�r���)r����r ���r ���r ���r!���r������s����r���c�����������������C���sF���t�t|�����D�]0\}\}}|dkr0td|����td||f���qd�S�)Nr���z%s: z %s = "%s")� enumerater����r9����print)�titler����indexr:���r;���r ���r ���r!����_print_dict���s����r����c�������������������C���sf���dt�jv�rt���dS�tdt�����tdt�����tdt�����t���tdt����t���tdt ����dS�)z*Display all information sysconfig detains.z--generate-posix-varsNzPlatform: "%s"zPython version: "%s"z!Current installation scheme: "%s"ZPathsZ Variables) rP����argvr����r����r���r���rF���r����r ���r���r ���r ���r ���r!����_main���s���� r�����__main__)F)N)N)H�__doc__r#���rP���Zos.pathr���r����__all__rf���r>���Z_PIP_USE_SYSCONFIGr����r�����base_prefixr3���Z_prefix_additionr����r�����splitr����rS���r����r����r���rA���r,���r����r����r�����base_exec_prefixr����r����Z _USER_BASEr"���r����r����r/����getcwdr?���r�����endswithr%���r(���r����r.���r-���r0���r����rB���r7���r<���rE���rF���rV���r~���r���r����r����r����r����r���r���r ���r ���r ���r���r���r���r���r���r����r�����__name__r ���r ���r ���r!����<module>���s������ ��� � ��A ��� � ? "OQ