| Server IP : 46.17.175.229 / Your IP : 216.73.217.52 Web Server : LiteSpeed System : Linux lt-bnk-web1163.main-hosting.eu 4.18.0-553.109.1.lve.el8.x86_64 #1 SMP Thu Mar 5 20:23:46 UTC 2026 x86_64 User : u528038015 ( 528038015) PHP Version : 8.2.33 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python37/lib/python3.7/site-packages/setuptools/__pycache__/ |
Upload File : |
B
��Re� � @ sp d dl Z d dlZd dlZd dlZd dlZddlmZ dd� ZeZ eej
j�ZG dd� de�ZG dd � d e�Z
dS )
� N� )�
get_unpatchedc C s2 d} yt | dgd�j dS tk
r, Y nX dS )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
s r
c @ s e Zd ZdZdd� Zdd� ZdS )� Extensionz7Extension that uses '.c' files in place of '.pyx' filesc O s( |� dd�| _tj| ||f|�|� d S )N�py_limited_apiF)�popr �
_Extension�__init__)�self�name�sources�args�kwr r r r ! s zExtension.__init__c C sN t � 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_extr r r r �_convert_pyx_sources_to_lang'