
­­­­­­­­­­­­­­­­­­
<!DOCTYPE html>
<html>
U
    ,a                     @   s$   d Z ddlmZ G d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                   @   sF   e Zd ZdZddgZdgZdd Zdd Zd	d
 Zdd Z	d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                 C   s   d | _ d| _g | _d S )Nr   )install_dirr   outfilesself r   F/opt/alt/python38/lib64/python3.8/distutils/command/install_headers.pyinitialize_options   s    z"install_headers.initialize_optionsc                 C   s   |  ddd d S )NZinstall)r   r   )r   r   )Zset_undefined_optionsr	   r   r   r   finalize_options   s    z install_headers.finalize_optionsc                 C   sH   | j j}|sd S | | j |D ]"}| || j\}}| j| q d S N)distributionheadersZmkpathr   Z	copy_filer   append)r
   r   headerout_r   r   r   run!   s    zinstall_headers.runc                 C   s   | j jp
g S r   )r   r   r	   r   r   r   
get_inputs+   s    zinstall_headers.get_inputsc                 C   s   | j S r   )r   r	   r   r   r   get_outputs.   s    zinstall_headers.get_outputsN)__name__
__module____qualname__ZdescriptionZuser_optionsZboolean_optionsr   r   r   r   r   r   r   r   r   r   
   s   
r   N)__doc__Zdistutils.corer   r   r   r   r   r   <module>   s   