Hacked By AnonymousFox

Current Path : /lib/python3.8/site-packages/setuptools/__pycache__/
Upload File :
Current File : //lib/python3.8/site-packages/setuptools/__pycache__/py27compat.cpython-38.pyc

U

�Qab��@s�dZddlZddlZddlmZdd�Zejr6dd�Ze��dkoFejZerPe	ndd	�Z
z,d
dlmZm
Z
mZmZd
dlmZmZWnJek
r�ddlZdd
lm
Z
mZmZddd�Zdd�Zdd�ZYnXdS)z2
Compatibility Support for Python 2.7 and earlier
�N)�sixcCs
|�|�S)zH
    Given an HTTPMessage, return all headers matching a given key.
    )Zget_all��message�key�r�9/usr/lib/python3.8/site-packages/setuptools/py27compat.py�get_all_headerssrcCs
|�|�S�N)Z
getheadersrrrrrsZLinuxcCs|Sr	r)�xrrr�<lambda>�r�)�find_module�PY_COMPILED�	PY_FROZEN�	PY_SOURCE)�get_frozen_object�
get_module)rrrc
Csj|�d�}|rf|�d�}t�||�\}}\}}}}	|tjkrP|pFdg}|g}q
|r
td||f��q
|	S)z7Just like 'imp.find_module()', but with package support�.r�__init__zCan't find %r in %s)�split�pop�imprZ
PKG_DIRECTORY�ImportError)
�module�paths�parts�part�f�path�suffix�modeZkind�inforrrr's



rcCs
t�|�Sr	)rr)rrrrrr7srcCstj|f|��tj|Sr	)r�load_module�sys�modules)rrr"rrrr:sr)N)�__doc__r$�platformZsetuptools.externrrZPY2�systemZlinux_py2_ascii�strZrmtree_safe�_imprrrrrrrrrrrr�<module>s&�


Hacked By AnonymousFox1.0, Coded By AnonymousFox