U
âQab� ã @ sœ d Z ddlZddlZddlZddlZddlZddlmZ ddl Z ddl
mZ ddlZg Z
dd„ Zdd„ Zd d
„ Zdd„ Zd
d„ Zdd„ Zdd„ Zdd„ ZdS )z
Monkey patching of distutils.
é N)Ú
import_module)Úsixc C s" t ¡ dkr| f| j S t | ¡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.
ZJython)ÚplatformZpython_implementationÚ __bases__ÚinspectZgetmro)Úcls© r ú5/usr/lib/python3.8/site-packages/setuptools/monkey.pyÚ_get_mro s r
c C s0 t | tjƒrtnt | tjƒr tndd„ }|| ƒS )Nc S s d S )Nr )Úitemr r r Ú