ok

Mini Shell

Direktori : /opt/alt/python36/lib/python3.6/site-packages/pip/_internal/utils/
Upload File :
Current File : //opt/alt/python36/lib/python3.6/site-packages/pip/_internal/utils/glibc.pyc

�
Bu�_c@@sddlmZddlZddlZddlmZerWddlmZmZnd�Z	d�Z
d�Zd�ZdS(	i(tabsolute_importN(tMYPY_CHECK_RUNNING(tOptionaltTuplecC@st�pt�S(s9Returns glibc version string, or None if not using glibc.(tglibc_version_string_confstrtglibc_version_string_ctypes(((sJ/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/utils/glibc.pytglibc_version_stringscC@sTtjdkrdSytjd�j�\}}Wntttfk
rOdSX|S(s@Primary implementation of glibc_version_string using os.confstr.twin32tCS_GNU_LIBC_VERSIONN(	tsystplatformtNonetostconfstrtsplittAttributeErrortOSErrort
ValueError(t_tversion((sJ/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/utils/glibc.pyRscC@s�yddl}Wntk
r$dSX|jd�}y
|j}Wntk
rUdSX|j|_|�}t|t	�s�|j
d�}n|S(s=Fallback implementation of glibc_version_string using ctypes.iNtascii(tctypestImportErrorRtCDLLtgnu_get_libc_versionRtc_char_ptrestypet
isinstancetstrtdecode(Rtprocess_namespaceRtversion_str((sJ/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/utils/glibc.pyR's


	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(R R (RR(t
glibc_version((sJ/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/utils/glibc.pytlibc_verWs	(
t
__future__RRR	tpip._internal.utils.typingRttypingRRRRRR#(((sJ/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/utils/glibc.pyt<module>s			0

Zerion Mini Shell 1.0