Server IP : 149.255.58.128 / Your IP : 216.73.216.158
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /usr/lib64/python3.9/distutils/command/__pycache__//build_clib.cpython-39.pyc
a
�DOgV � @ sT d Z ddlZddlmZ ddlT ddlmZ ddlmZ dd� Z G d d
� d
e�Z
dS )z�distutils.command.build_clib
Implements the Distutils 'build_clib' command, to build a C/C++ library
that is included in the module distribution and needed by an extension
module.� N)�Command)�*)�customize_compiler)�logc C s ddl m} | � d S )Nr ��show_compilers)�distutils.ccompilerr r � r �4/usr/lib64/python3.9/distutils/command/build_clib.pyr s r c @ sf e Zd ZdZg d�ZddgZdddefgZdd � Zd
d� Z dd
� Z
dd� Zdd� Zdd� Z
dd� ZdS )�
build_clibz/build C/C++ libraries used by Python extensions))zbuild-clib=�bz%directory to build C/C++ libraries to)zbuild-temp=�tz,directory to put temporary build by-products)�debug�gz"compile with debugging information)�force�fz2forcibly build everything (ignore file timestamps))z compiler=�czspecify the compiler typer r z
help-compilerNzlist available compilersc C s: d | _ d | _d | _d | _d | _d | _d | _d| _d | _d S )Nr ) r �
build_temp� libraries�include_dirs�define�undefr r �compiler��selfr r r
�initialize_options4 s zbuild_clib.initialize_optionsc C sh | � dddddd� | jj| _| jr0| �| j� | jd u rH| jjpDg | _t| jt�rd| j�tj �| _d S )NZbuild)r r )r r )r r )r r )r r )
Zset_undefined_optionsZdistributionr �check_library_listr �
isinstance�str�split�os�pathsepr r r r
�finalize_optionsD s �
zbuild_clib.finalize_optionsc C s� | j s
d S ddlm} || j| j| jd�| _t| j� | jd urN| j�| j� | j d urv| j D ]\}}| j�
||� q^| jd ur�| jD ]}| j�|� q�| �
| j � d S )Nr )�new_compiler)r �dry_runr )r r r# r r$ r r r Zset_include_dirsr Zdefine_macror Zundefine_macro�build_libraries)r r# �name�valueZmacror r r
�run^ s"