o bc@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 8/usr/lib/python3.10/distutils/command/install_headers.pyinitialize_optionss z"install_headers.initialize_optionscCs|ddddS)Ninstall)rr)rr)set_undefined_optionsr r r r finalize_optionssz install_headers.finalize_optionscCsH|jj}|sdS||j|D]}|||j\}}|j|qdSN) distributionheadersmkpathr 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__ description user_optionsboolean_optionsr rrrrr r r r r s rN)__doc__distutils.corerrr r r r s