a ÕDOgã@s ddlmZGdd„deƒZdS)é)Ú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 úF/opt/alt/python39/lib64/python3.9/distutils/command/install_headers.pyÚinitialize_optionssz"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 |¡q dS©N)Ú distributionÚheadersZmkpathrZ copy_filerÚappend)r rÚheaderÚoutÚ_r r r Úrun!s zinstall_headers.runcCs |jjp gSr)rrr r r r Ú get_inputs+szinstall_headers.get_inputscCs|jSr)rr r r r Ú get_outputs.szinstall_headers.get_outputsN) Ú__name__Ú __module__Ú __qualname__Z descriptionZ user_optionsZboolean_optionsr rrrrr r r r r sþ rN)Zdistutils.corerrr r r r Ús