_Sd N d dl Z d dlmZ d dlmZ d dlmZ G d de ZdS ) N)Command)new_compiler)get_cmdc . e Zd ZdZg Zd Zd Zd Zd ZdS )install_clibz*Command to install installable C librariesc " d | _ g | _ d S N)install_diroutfilesselfs x/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib64/python3.11/site-packages/numpy/distutils/command/install_clib.pyinitialize_optionszinstall_clib.initialize_options s c 2 | dd d S )Ninstall)install_libr )set_undefined_optionsr s r finalize_optionszinstall_clib.finalize_options s ""9.LMMMMMr c R t d }|j s| |j }|j s+t d }| | j n|j }| j j D ]}t j | j |j }| |j }t j || }| | | j | || d d S )N build_clib)compilerr )r r r r r customizedistributioninstalled_librariesospathjoinr target_dirlibrary_filenamenamemkpathr append copy_file)r build_clib_cmd build_dirr lr r! sources r runzinstall_clib.run s ..( .++---"- &