o
    LK&hø  ã                   @   s0   d Z ddlmZ ddlmZ G dd„ deƒZdS )z•distutils.command.install_headers

Implements the Distutils 'install_headers' command, to install C/C++ header
files to the Python include directory.é    )ÚClassVaré   )ÚCommandc                   @   sr   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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)Úuser_optionsr   Úboolean_optionsc                 C   s   d | _ d| _g | _d S )NF)Úinstall_dirr   Úoutfiles©Úself© r   ú`/var/www/html/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_headers.pyÚinitialize_options   s   
z"install_headers.initialize_optionsc                 C   s   |   ddd¡ d S )NÚinstall)r   r   )r   r   )Ú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ÚheadersÚmkpathr   Ú	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__Údescriptionr	   r   ÚlistÚtupleÚstrÚ__annotations__r
   r   r   r   r   r    r   r   r   r   r      s   
 þ
r   N)Ú__doc__Útypingr   Úcorer   r   r   r   r   r   Ú<module>   s    