Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/numpy/distutils/command/__pycache__/install_clib.cpython-39.pyc
Ðазад
a e�hw � @ 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 ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-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}|js:td d�}|�| j� n|j}| jjD ]R}tj � | j|j�}|� |j�}tj � ||�}| �|� | j�| �||�d � qHd S )N� build_clib)�compilerr )r r r r r Z customize�distributionZinstalled_libraries�os�path�joinr � target_dirZlibrary_filename�name�mkpathr �append� copy_file)r Zbuild_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'