AlkantarClanX12

Your IP : 3.142.98.111


Current Path : /proc/thread-self/root/usr/lib/python2.7/site-packages/setuptools/
Upload File :
Current File : //proc/thread-self/root/usr/lib/python2.7/site-packages/setuptools/glibc.pyc

�
�fc@@s\ddlmZddlZddlZddlZd�Zd�Zd�Zd�ZdS(i(tabsolute_importNcC@sktjd�}y
|j}Wntk
r0dSXtj|_|�}t|t�sg|j	d�}n|S(s9Returns glibc version string, or None if not using glibc.tasciiN(
tctypestCDLLtNonetgnu_get_libc_versiontAttributeErrortc_char_ptrestypet
isinstancetstrtdecode(tprocess_namespaceRtversion_str((s4/usr/lib/python2.7/site-packages/setuptools/glibc.pytglibc_version_string
s

	cC@sdtjd|�}|s0tjd|t�tSt|jd��|koct|jd��|kS(Ns$(?P<major>[0-9]+)\.(?P<minor>[0-9]+)s=Expected glibc version with 2 components major.minor, got: %stmajortminor(tretmatchtwarningstwarntRuntimeWarningtFalsetinttgroup(R
trequired_majort
minimum_minortm((s4/usr/lib/python2.7/site-packages/setuptools/glibc.pytcheck_glibc_version$s	cC@s)t�}|dkrtSt|||�S(N(RRRR(RRR
((s4/usr/lib/python2.7/site-packages/setuptools/glibc.pythave_compatible_glibc4s	cC@s't�}|dkrdSd|fSdS(s�Try to determine the glibc version

    Returns a tuple of strings (lib, version) which default to empty strings
    in case the lookup fails.
    ttglibcN(RR(RR(t
glibc_version((s4/usr/lib/python2.7/site-packages/setuptools/glibc.pytlibc_verLs	(	t
__future__RRRRRRRR!(((s4/usr/lib/python2.7/site-packages/setuptools/glibc.pyt<module>s