B *Àاk¨ã@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 úD/opt/alt/python37/lib/python3.7/distutils/command/install_headers.pyÚinitialize_optionssz"install_headers.initialize_optionscCs| ddd¡dS)NÚinstall)rr)rr)Zset_undefined_options)r r r r Úfinalize_optionssz install_headers.finalize_optionscCsL|jj}|sdS| |j¡x*|D]"}| ||j¡\}}|j |¡q"WdS)N)Ú distributionÚheadersZmkpathrZ copy_filerÚappend)r rÚheaderÚoutÚ_r r r Úrun!s  zinstall_headers.runcCs |jjp gS)N)rr)r r r r Ú get_inputs+szinstall_headers.get_inputscCs|jS)N)r)r r r r Ú get_outputs.szinstall_headers.get_outputsN) Ú__name__Ú __module__Ú __qualname__Ú descriptionZ user_optionsZboolean_optionsr rrrrr r r r r s rN)Zdistutils.corerrr r r r Ús