o ÏÓçhã@s$dZddlmZGdd„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@sFeZdZdZddgZdgZdd„Zdd„Zd d „Zd d „Z d d„Z dS)Úinstall_headerszinstall C/C++ header files)z install-dir=Údz$directory to install header files to)ÚforceÚfz-force installation (overwrite existing files)rcCsd|_d|_g|_dS)Nr)Ú install_dirrÚoutfiles©Úself©r úH/opt/alt/python310/lib64/python3.10/distutils/command/install_headers.pyÚinitialize_optionss z"install_headers.initialize_optionscCs| ddd¡dS)NZinstall)rr)rr)Zset_undefined_optionsr r r r Úfinalize_optionssþz install_headers.finalize_optionscCsH|jj}|sdS| |j¡|D]}| ||j¡\}}|j |¡qdS©N)Ú distributionÚheadersZmkpathrZ copy_filerÚappend)r rÚheaderÚoutÚ_r r r Úrun!s þzinstall_headers.runcCs |jjpgSr)rrr r r r Ú get_inputs+s zinstall_headers.get_inputscCs|jSr)rr r r r Ú get_outputs.szinstall_headers.get_outputsN) Ú__name__Ú __module__Ú __qualname__Ú descriptionZ user_optionsZboolean_optionsr rrrrr r r r r sþ rN)Ú__doc__Zdistutils.corerrr r r r Ús