B
*Àاk¨ã @ s d dl mZ G dd„ deƒZdS )é )Ú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
úF/opt/alt/python37/lib64/python3.7/distutils/command/install_headers.pyÚinitialize_options s z"install_headers.initialize_optionsc C s | ddd¡ d S )NÚinstall)r r )r r )Zset_undefined_options)r r
r
r Úfinalize_options s z install_headers.finalize_optionsc C sL | j j}|sd S | | j¡ x*|D ]"}| || j¡\}}| j |¡ q"W 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 )N)r r )r r
r
r Ú
get_inputs+ s zinstall_headers.get_inputsc C s | j S )N)r )r r
r
r Úget_outputs. s zinstall_headers.get_outputsN)Ú__name__Ú
__module__Ú__qualname__ÚdescriptionZuser_optionsZboolean_optionsr r r r r r
r
r
r r
s
r N)Zdistutils.corer r r
r
r
r Ú