<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
3
K”ReJ  ã               @   sH   d dl mZ d dlZd dlZd dlZdd„ Zdd„ Zdd„ Zd	d
„ ZdS )é    )Úabsolute_importNc              C   sP   t jdƒ} y
| j}W n tk
r(   dS X t j|_|ƒ }t|tƒsL|jdƒ}|S )z9Returns glibc version string, or None if not using glibc.NÚascii)	ÚctypesÚCDLLÚgnu_get_libc_versionÚAttributeErrorÚc_char_pÚrestypeÚ
isinstanceÚstrÚdecode)Úprocess_namespacer   Úversion_str© r   ú†/builddir/build/BUILDROOT/alt-python36-setuptools-38.5.2-7.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/setuptools/glibc.pyÚglibc_version_string
   s    



r   c             C   sH   t jd| ƒ}|s$tjd|  tƒ dS t|jdƒƒ|koFt|jdƒƒ|kS )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Úmr   r   r   Úcheck_glibc_version$   s    
r   c             C   s   t ƒ }|d krdS t|| |ƒS )NF)r   r   )r   r   r   r   r   r   Úhave_compatible_glibc4   s    r   c              C   s   t ƒ } | dkrdS d| fS dS )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Ú Úglibc)r    r    )r   )Úglibc_versionr   r   r   Úlibc_verL   s    r#   )	Ú
__future__r   r   r   r   r   r   r   r#   r   r   r   r   Ú<module>   s   