
    Ixh                     2    d Z ddlmZ  G d de          ZdS )zdistutils.command.install_headers

Implements the Distutils 'install_headers' command, to install C/C++ header
files to the Python include directory.   )Commandc                   >    e Zd ZdZddgZdgZd Zd Zd Zd Z	d	 Z
d
S )install_headerszinstall C/C++ header files)zinstall-dir=dz$directory to install header files to)forcefz-force installation (overwrite existing files)r   c                 0    d | _         d| _        g | _        d S )N    )install_dirr   outfilesselfs    `/var/www/html/what/lib/python3.11/site-packages/setuptools/_distutils/command/install_headers.pyinitialize_optionsz"install_headers.initialize_options   s    
    c                 4    |                      ddd           d S )Ninstall)r   r   )r   r   )set_undefined_optionsr   s    r   finalize_optionsz install_headers.finalize_options   s-    ""9;M	
 	
 	
 	
 	
r   c                     | j         j        }|sd S |                     | j                   |D ]:}|                     || j                  \  }}| j                            |           ;d S N)distributionheadersmkpathr   	copy_filer   append)r   r   headerout_s        r   runzinstall_headers.run   s{    #+ 	FD$%%% 	& 	&F~~fd.>??HS!M  %%%%	& 	&r   c                     | j         j        pg S r   )r   r   r   s    r   
get_inputszinstall_headers.get_inputs)   s     (.B.r   c                     | j         S r   )r   r   s    r   get_outputszinstall_headers.get_outputs,   s
    }r   N)__name__
__module____qualname__descriptionuser_optionsboolean_optionsr   r   r    r"   r$    r   r   r   r   
   s}        .K 	FGL
 iO  

 
 

& & &/ / /    r   r   N)__doc__corer   r   r+   r   r   <module>r.      sW   * *
      # # # # #g # # # # #r   