K;9 2 d Z ddlmZ G d de ZdS )zdistutils.command.install_headers Implements the Distutils 'install_headers' command, to install C/C++ header files to the Python include directory. )Commandc > e Zd ZdZddgZdgZd Zd Zd Zd Z d Z d S )install_headerszinstall C/C++ header files)zinstall-dir=dz$directory to install header files to)forcefz-force installation (overwrite existing files)r c 0 d | _ d| _ g | _ d S )Nr )install_dirr outfilesselfs H/opt/alt/python311/lib64/python3.11/distutils/command/install_headers.pyinitialize_optionsz"install_headers.initialize_options s c 4 | ddd d S )Ninstall)r r )r r )set_undefined_optionsr s r finalize_optionsz install_headers.finalize_options s, ""9#E#5 7 7 7 7 7r c | j j }|sd S | | j |D ]:}| || j \ }}| j | ;d S N)distributionheadersmkpathr copy_filer append)r r headerout_s r runzinstall_headers.run! s{ #+ FD$%%% &