Repository URL to install this package:
|
Version:
1.0.9-2 ▾
|
wlanpi-profiler
/
opt
/
wlanpi-profiler
/
lib
/
python3.7
/
site-packages
/
setuptools
/
__pycache__
/
extension.cpython-37.pyc
|
|---|
B
½%?Ëõã @ sp d dl Z d dlZd dlZd dlZd dlZddlmZ dd ZeZ eej
jZG dd deZG dd d eZ
dS )
é Né )Ú
get_unpatchedc C s2 d} yt | dgdj 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 ú/build/wlanpi-profiler-FHoT2X/wlanpi-profiler-1.0.9/debian/wlanpi-profiler/opt/wlanpi-profiler/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' 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$ 6 s r$ )r r Údistutils.coreÚ distutilsÚdistutils.errorsÚdistutils.extensionZmonkeyr r
Z
have_pyrexÚcorer r r$ r r r r Ú<module> s