AlkantarClanX12
Current Path : /opt/alt/python35/lib/python3.5/site-packages/setuptools/__pycache__/ |
Current File : //opt/alt/python35/lib/python3.5/site-packages/setuptools/__pycache__/monkey.cpython-35.pyc |
�Re� � @ s� d Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l m Z d d l m Z d d l Z g Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d S)z Monkey patching of distutils. � N� )� import_module)�sixc C s- t j � d k r | f | j St j | � S)am Returns the bases classes for cls sorted by the MRO. Works around an issue on Jython where inspect.getmro will not return all base classes if multiple classes share the same name. Instead, this function will return a tuple containing the class itself, and the contents of cls.__bases__. See https://github.com/pypa/setuptools/issues/1024. �Jython)�platform�python_implementation� __bases__�inspect�getmro)�cls� r ��/builddir/build/BUILDROOT/alt-python35-setuptools-36.3.0-4.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/setuptools/monkey.py�_get_mro s r c C sF t | t j � r t n! t | t j � r0 t n d d � } | | � S)Nc S s d S)Nr )�itemr r r �<lambda>* s zget_unpatched.<locals>.<lambda>)� isinstancer �class_types�get_unpatched_class�types�FunctionType�get_unpatched_function)r �lookupr r r � get_unpatched&