AlkantarClanX12

Your IP : 3.137.173.98


Current Path : /opt/alt/python37/lib/python3.7/site-packages/setuptools/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib/python3.7/site-packages/setuptools/__pycache__/extension.cpython-37.pyc

B

��Re��@spddlZddlZddlZddlZddlZddlmZdd�ZeZ	eej
j�ZGdd�de�ZGdd	�d	e�Z
dS)
�N�)�
get_unpatchedcCs2d}yt|dgd�jdStk
r,YnXdS)z0
    Return True if Cython can be imported.
    zCython.Distutils.build_ext�	build_ext)�fromlistTF)�
__import__r�	Exception)Zcython_impl�r��/builddir/build/BUILDROOT/alt-python37-setuptools-58.3.0-4.el8.x86_64/opt/alt/python37/lib/python3.7/site-packages/setuptools/extension.py�_have_cython
sr
c@s eZdZdZdd�Zdd�ZdS)�	Extensionz7Extension that uses '.c' files in place of '.pyx' filescOs(|�dd�|_tj|||f|�|�dS)N�py_limited_apiF)�popr�
_Extension�__init__)�self�name�sources�args�kwrrr	r!szExtension.__init__cCsNt�r
dS|jpd}|��dkr$dnd}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�langZ
target_extrrrr	�_convert_pyx_sources_to_lang's
z&Extension._convert_pyx_sources_to_langN)�__name__�
__module__�__qualname__�__doc__rrrrrr	rsrc@seZdZdZdS)�Libraryz=Just like a regular Extension, but built as a library insteadN)r r!r"r#rrrr	r$6sr$)rr�distutils.core�	distutils�distutils.errors�distutils.extensionZmonkeyrr
Z
have_pyrex�corerrr$rrrr	�<module>s