o
    ¢øÁf   ã                   @   sd   d Z dZddlZddlmZ G dd„ dejƒZejZejd dk r.ejj r0ejj d e_ dS dS dS )zŠPyrex.Distutils.extension

Provides a modified Extension class, that understands how to describe
Pyrex extension modules in setup scripts.z$Id:$é    Nc                   @   sB   e Zd Z																						ddd„ZdS )Ú	ExtensionNFc                 K   sî   d}t |ƒD ]}| d¡rd}| |¡|d|dd …  < q|r:tj| ||f|||||||	|
|||||dœ|¤Ž d S tjj| ||f|||||||	|
||||dœ|¤Ž |pVg | _|p[i | _|| _|| _	|| _
|| _|| _|| _|| _|| _d S )NFÚpyrex_TÚcythoné   )Úinclude_dirsÚdefine_macrosÚundef_macrosÚlibrary_dirsÚ	librariesÚruntime_library_dirsÚextra_objectsÚextra_compile_argsÚextra_link_argsÚexport_symbolsÚdependsÚlanguageÚno_c_in_traceback)r   r   r   r	   r
   r   r   r   r   r   r   r   )ÚlistÚ
startswithÚpopr   Ú__init__Ú
_ExtensionÚcython_include_dirsÚcython_directivesÚcython_create_listingÚcython_line_directivesÚcython_cplusÚcython_c_in_tempÚcython_gen_pxiÚ
cython_gdbr   Úcython_compile_time_env)ÚselfÚnameÚsourcesr   r   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    ÚkwÚhad_pyrex_optionsÚkey© r'   úV/var/www/html/mig_web/myenv/lib/python3.10/site-packages/Cython/Distutils/extension.pyr      sn   
€ÿñðÿòñ


zExtension.__init__)NNNNNNNNNNNNNNFFFFFFFN)Ú__name__Ú
__module__Ú__qualname__r   r'   r'   r'   r(   r      s0    ér   é   aW      cython_include_dirs : [string]
        list of directories to search for Pyrex header files (.pxd) (in
        Unix form for portability)
    cython_directives : {string:value}
        dict of compiler directives
    cython_create_listing_file : boolean
        write pyrex error messages to a listing (.lis) file.
    cython_line_directives : boolean
        emit pyx line numbers for debugging/profiling
    cython_cplus : boolean
        use the C++ compiler for compiling and linking.
    cython_c_in_temp : boolean
        put generated C files in temp directory.
    cython_gen_pxi : boolean
        generate .pxi file for public declarations
    cython_gdb : boolean
        generate Cython debug information for this extension for cygdb
    no_c_in_traceback : boolean
        emit the c file and line number from the traceback for exceptions
)	Ú__doc__Ú__revision__ÚsysÚdistutils.extensionÚ	extensionr   r   Úread_setup_fileÚversion_infor'   r'   r'   r(   Ú<module>   s    Uþ