관리-도구
편집 파일: glibc.pyc
� �fc @@ s\ d d l m Z d d l Z d d l Z d d l Z d � Z d � Z d � Z d � Z d S( i ( t absolute_importNc C@ sk t j d � } y | j } Wn t k r0 d SXt j | _ | � } t | t � sg | j d � } n | S( s9 Returns glibc version string, or None if not using glibc.t asciiN( t ctypest CDLLt Nonet gnu_get_libc_versiont AttributeErrort c_char_pt restypet isinstancet strt decode( t process_namespaceR t version_str( ( s4 /usr/lib/python2.7/site-packages/setuptools/glibc.pyt glibc_version_string s c C@ sd t j d | � } | s0 t j d | t � t St | j d � � | k oc t | j d � � | k S( Ns$ (?P<major>[0-9]+)\.(?P<minor>[0-9]+)s= Expected glibc version with 2 components major.minor, got: %st majort minor( t ret matcht warningst warnt RuntimeWarningt Falset intt group( R t required_majort minimum_minort m( ( s4 /usr/lib/python2.7/site-packages/setuptools/glibc.pyt check_glibc_version$ s c C@ s) t � } | d k r t St | | | � S( N( R R R R ( R R R ( ( s4 /usr/lib/python2.7/site-packages/setuptools/glibc.pyt have_compatible_glibc4 s c C@ s'