Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/numpy/distutils/command/__pycache__/ |
Upload File : |
o 6��aw � @ s@ d dl Z d dlmZ d dlmZ d dlmZ G dd� de�ZdS )� N)�Command)�new_compiler)�get_cmdc @ s4 e Zd ZdZg Zdd� Zdd� Zdd� Zdd � Zd S )�install_clibz*Command to install installable C librariesc C s d | _ g | _d S �N)�install_dir�outfiles��self� r �F/usr/lib/python3/dist-packages/numpy/distutils/command/install_clib.py�initialize_options s zinstall_clib.initialize_optionsc C s | � dd� d S )N�install)�install_libr )�set_undefined_optionsr r r r �finalize_options s zinstall_clib.finalize_optionsc C s� t d�}|js|�� |j}|jstd d�}|�| j� n|j}| jjD ])}tj � | j|j�}|� |j�}tj � ||�}| �|� | j�| �||�d � q$d S )N� build_clib)�compilerr )r r r r r � customize�distribution�installed_libraries�os�path�joinr � target_dir�library_filename�name�mkpathr �append� copy_file)r �build_clib_cmd� build_dirr �lr r �sourcer r r �run s �zinstall_clib.runc C s | j S r )r r r r r �get_outputs'