ó p®¸Qc@s6dZdZddlmZdefd„ƒYZdS(s•distutils.command.install_headers Implements the Distutils 'install_headers' command, to install C/C++ header files to the Python include directory.s$Id$iÿÿÿÿ(tCommandtinstall_headerscBsPeZdZd d gZdgZd„Zd„Zd „Zd „Zd „Z RS(sinstall C/C++ header filess install-dir=tds$directory to install header files totforcetfs-force installation (overwrite existing files)cCsd|_d|_g|_dS(Ni(tNonet install_dirRtoutfiles(tself((s7/sys/lib/python2.7/distutils/command/install_headers.pytinitialize_optionss  cCs|jdddƒdS(NtinstallRRR(sinstall_headerss install_dir(sforcesforce(tset_undefined_options(R((s7/sys/lib/python2.7/distutils/command/install_headers.pytfinalize_optionss cCsf|jj}|sdS|j|jƒx9|D]1}|j||jƒ\}}|jj|ƒq-WdS(N(t distributiontheaderstmkpathRt copy_fileRtappend(RRtheadertoutt_((s7/sys/lib/python2.7/distutils/command/install_headers.pytrun#s  cCs|jjpgS(N(R R(R((s7/sys/lib/python2.7/distutils/command/install_headers.pyt get_inputs-scCs|jS(N(R(R((s7/sys/lib/python2.7/distutils/command/install_headers.pyt get_outputs0s(s install-dir=Rs$directory to install header files to(sforceRs-force installation (overwrite existing files)( t__name__t __module__t descriptiont user_optionstboolean_optionsR R RRR(((s7/sys/lib/python2.7/distutils/command/install_headers.pyR s     N(t__doc__t __revision__tdistutils.coreRR(((s7/sys/lib/python2.7/distutils/command/install_headers.pyts