ok
Direktori : /proc/thread-self/root/proc/self/root/lib/python2.7/site-packages/pip/utils/ |
Current File : //proc/thread-self/root/proc/self/root/lib/python2.7/site-packages/pip/utils/glibc.pyc |
� ��abc @@ sh d d l m Z d d l 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( ( s3 /usr/lib/python2.7/site-packages/pip/utils/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( ( s3 /usr/lib/python2.7/site-packages/pip/utils/glibc.pyt check_glibc_version# s c C@ s) t � } | d k r t St | | | � S( N( R R R R ( R R R ( ( s3 /usr/lib/python2.7/site-packages/pip/utils/glibc.pyt have_compatible_glibc3 s c C@ s- t � } | d k r t j � Sd | f Sd S( Nt glibc( R R t platformt libc_ver( t glibc_version( ( s3 /usr/lib/python2.7/site-packages/pip/utils/glibc.pyR K s ( t __future__R R R R R R R R R ( ( ( s3 /usr/lib/python2.7/site-packages/pip/utils/glibc.pyt <module> s