| Server IP : 156.238.232.47 / Your IP : 216.73.216.150 Web Server : nginx/1.25.3 System : Linux C202504152095410 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : www ( 1000) PHP Version : 8.3.25 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3.6/site-packages/setuptools/__pycache__/ |
Upload File : |
3
�K]� � @ s| d dl Z d dlZd dlZd dlZd dlZd dlmZ ddlm Z dd� Z
e
Ze ejj
�ZG dd� de�Z
G d d
� d
e
�ZdS )� N)�map� )�
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 �/usr/lib/python3.6/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( |j 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}|j� dkr$dnd}tjtjd|�}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 Zlanguage�lower� functools�partial�re�sub�listr r )r ZlangZ
target_extr r r r
�_convert_pyx_sources_to_lang) s
z&Extension._convert_pyx_sources_to_langN)�__name__�
__module__�__qualname__�__doc__r r r r r r
r s r c @ s e Zd ZdZdS )�Libraryz=Just like a regular Extension, but built as a library insteadN)r r r r! r r r r
r"