o
    ¹E¨eœ  ã                   @   s$   d 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.é   )Ú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 )Né    )Úinstall_dirr   Úoutfiles©Úself© r   ún/var/www/bmteknikk.ddns.net/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__ÚdescriptionÚuser_optionsÚboolean_optionsr   r   r   r   r   r   r   r   r   r   
   s    þ
r   N)Ú__doc__Úcorer   r   r   r   r   r   Ú<module>   s    