
    i                     >    d Z ddlm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.    )ClassVar   )Commandc                       e Zd ZU dZddgZeeeeeef                           e	d<   dgZ
eee                  e	d<   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)user_optionsr	   boolean_optionsc                 0    d | _         d| _        g | _        d S )NF)install_dirr	   outfilesselfs    e/srv/django_bis/venv311/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__descriptionr   r   listtuplestr__annotations__r   r   r   r#   r%   r'    r   r   r   r      s         .K 	FG:L(4c3m 456   
 -49OXd3i(444  

 
 

& & &/ / /    r   r   N)__doc__typingr   corer   r   r0   r   r   <module>r4      si   * *
            " " " " "g " " " " "r   