MINI MINI MANI MO
3
\ ã @ 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 „ Zd
d„ Zdd
„ Zdd„ Z dd„ Z
dS )Úinstall_headerszinstall C/C++ header filesúinstall-dir=Údú$directory to install header files toÚforceÚfú-force installation (overwrite existing files)c C s d | _ d| _g | _d S )Nr )Úinstall_dirr Úoutfiles)Úself© r
ú9/usr/lib64/python3.6/distutils/command/install_headers.pyÚinitialize_options s z"install_headers.initialize_optionsc C s | j dddƒ d S )NZinstallr r
r )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| jƒ x*|D ]"}| j|| jƒ\}}| jj|ƒ 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)r r r )r r r )Ú__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
OHA YOOOO