mς &U²Ic@s<dZdZdkZdklZdefd„ƒ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: install_headers.py 37828 2004-11-10 22:23:15Z loewis $N(sCommandtinstall_headerscBsPtZdZd dgZdgZd„Zd „Zd „Zd „Zd „Z RS(Nsinstall C/C++ header filess install-dir=tds$directory to install header files totforcetfs-force installation (overwrite existing files)cCsd|_d|_g|_dS(Ni(tNonetselft install_dirRtoutfiles(R((t>/data/zmath/lib/python2.4/distutils/command/install_headers.pytinitialize_optionss  cCs|idddƒdS(NtinstallRRR(sinstall_headerss install_dir(sforcesforce(Rtset_undefined_options(R((Rtfinalize_optionss cCsk|ii}|pdSn|i|iƒx9|D]1}|i||iƒ\}}|i i |ƒq2WdS(N( Rt distributiontheaderstmkpathRtheadert copy_filetoutt_Rtappend(RRRRR((Rtrun%s cCs|iipgS(N(RR R(R((Rt get_inputs/scCs|iS(N(RR(R((Rt get_outputs2s(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(((RRs     (t__doc__t __revision__tostdistutils.coretCommandR(R!RRR((Rt?s