File: //lib64/python3.8/distutils/command/__pycache__/install_headers.cpython-38.opt-1.pyc
U
e5d ã @ s$ d Z ddlmZ G dd„ deƒZdS )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 Zd ZdZddgZdgZdd„ Zdd„ Zd d
„ Zdd„ Z d
d„ Z
dS )Úinstall_headerszinstall C/C++ header files)zinstall-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 ú9/usr/lib64/python3.8/distutils/command/install_headers.pyÚinitialize_options s z"install_headers.initialize_optionsc C s | ddd¡ d S )NZinstall)r r )r r )Zset_undefined_optionsr r r r Úfinalize_options s þz install_headers.finalize_optionsc C sH | j j}|sd S | | j¡ |D ]"}| || j¡\}}| j |¡ q d S ©N)ÚdistributionÚheadersZmkpathr Z copy_filer Úappend)r
r ÚheaderÚoutÚ_r r r Úrun! s zinstall_headers.runc C s | j jp
g S r )r r r r r r Ú
get_inputs+ s zinstall_headers.get_inputsc C s | j S r )r r r r r Úget_outputs. s zinstall_headers.get_outputsN)Ú__name__Ú
__module__Ú__qualname__ZdescriptionZuser_optionsZboolean_optionsr
r r r r r r r r r
s þ
r N)Ú__doc__Zdistutils.corer r r r r r Ú<module> s