o ?Og@s$dZddlmZGdddeZdS)zdistutils.command.install_headers Implements the Distutils 'install_headers' command, to install C/C++ header files to the Python include directory.)Commandc@sFeZdZdZddgZdgZddZddZd d Zd d Z d dZ dS)install_headerszinstall C/C++ header files)z install-dir=dz$directory to install header files to)forcefz-force installation (overwrite existing files)rcCsd|_d|_g|_dS)Nr) install_dirroutfilesselfr H/opt/alt/python310/lib64/python3.10/distutils/command/install_headers.pyinitialize_optionss z"install_headers.initialize_optionscCs|ddddS)NZinstall)rr)rr)Zset_undefined_optionsr r r r finalize_optionssz install_headers.finalize_optionscCsH|jj}|sdS||j|D]}|||j\}}|j|qdSN) distributionheadersZmkpathrZ copy_filerappend)r rheaderout_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