Your IP : 3.145.64.210
�
t��e� � �z � d Z ddlZddlZddlZddlZddlZddlmZ ddlZ g Z
d� Zd� Zd� Z
d� Zd� Zd � Zd
� Zd� Zy)z
Monkey patching of distutils.
� N)�
import_modulec �z � t j � dk( r| f| j z S t 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)�clss ��/builddir/build/BUILDROOT/alt-python312-setuptools-69.0.2-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/setuptools/monkey.py�_get_mror
s5 � � �%�%�'�8�3��v��
�
�%�%��>�>�#��� c � � t | t � rt n"t | t j � rt
nd� } || � S )Nc � � y )N� )�items r �<lambda>zget_unpatched.<locals>.<lambda>* s � r )�
isinstance�type�get_unpatched_class�types�FunctionType�get_unpatched_function)r �lookups r �
get_unpatchedr $ s>