HEX
Server: LiteSpeed
System: Linux srv271.doctorhoster.com 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64
User: lcipakco (2751)
PHP: 8.3.32
Disabled: show_source, system, shell_exec, passthru, exec, popen, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, escapeshellcmd, apache_child_terminate, virtual, mb_send_mail, mail, eval, phpinfo
Upload Files
File: //lib/python3.8/site-packages/setuptools/__pycache__/glibc.cpython-38.pyc
U

�QabJ�@sHddlmZddlZddlZddlZdd�Zdd�Zdd�Zd	d
�ZdS)�)�absolute_importNcCsRt�d�}z
|j}Wntk
r*YdSXtj|_|�}t|t�sN|�d�}|S)z9Returns glibc version string, or None if not using glibc.N�ascii)	�ctypesZCDLL�gnu_get_libc_version�AttributeErrorZc_char_pZrestype�
isinstance�str�decode)Zprocess_namespacer�version_str�r�4/usr/lib/python3.8/site-packages/setuptools/glibc.py�glibc_version_string
s



r
cCsHt�d|�}|s$t�d|t�dSt|�d��|koFt|�d��|kS)Nz$(?P<major>[0-9]+)\.(?P<minor>[0-9]+)z=Expected glibc version with 2 components major.minor, got: %sF�major�minor)�re�match�warnings�warn�RuntimeWarning�int�group)r
�required_major�
minimum_minor�mrrr�check_glibc_version$s���rcCst�}|dkrdSt|||�S)NF)r
r)rrr
rrr�have_compatible_glibc4srcCst�}|dkrdSd|fSdS)z�Try to determine the glibc version

    Returns a tuple of strings (lib, version) which default to empty strings
    in case the lookup fails.
    N)�rZglibc)r
)Z
glibc_versionrrr�libc_verLsr)	Z
__future__rrrrr
rrrrrrr�<module>s