łň žl‡Jc@shdZdZddkZddklZddklZddklZl Z defd„ƒYZ dS( s€distutils.command.install_data Implements the Distutils 'install_data' command, for installing platform-independent data files.s8$Id: install_data.py 37828 2004-11-10 22:23:15Z loewis $i˙˙˙˙N(t StringType(tCommand(t change_roott convert_patht install_datacBsSeZdZdddgZdgZd „Zd „Zd „Zd „Z d „Z RS(sinstall data filess install-dir=tdsIbase directory for installing data files (default: installation base dir)sroot=s<install everything relative to this alternate root directorytforcetfs-force installation (overwrite existing files)cCs@d|_g|_d|_d|_|ii|_d|_dS(Nii(tNonet install_dirtoutfilestrootRt distributiont data_filestwarn_dir(tself((s1/sys/lib/python/distutils/command/install_data.pytinitialize_options s     cCs|iddddƒdS( NtinstallRR R R(s install_datas install_dir(srootsroot(sforcesforce(tset_undefined_options(R((s1/sys/lib/python/distutils/command/install_data.pytfinalize_options)s cCsx|i|iƒxa|iD]V}t|ƒtjoct|ƒ}|io|id||ifƒn|i||iƒ\}}|i i |ƒqt|dƒ}t i i |ƒpt i i|i|ƒ}n!|iot|i|ƒ}n|i|ƒ|dgjo|i i |ƒqxF|dD]:}t|ƒ}|i||ƒ\}}|i i |ƒq2WqWdS(NsMsetup script did not provide a directory for '%s' -- installing right in '%s'ii(tmkpathR R ttypeRRRtwarnt copy_fileR tappendtostpathtisabstjoinR R(RRtoutt_tdirtdata((s1/sys/lib/python/distutils/command/install_data.pytrun0s.        cCs|ipgS(N(R (R((s1/sys/lib/python/distutils/command/install_data.pyt get_inputsQscCs|iS(N(R (R((s1/sys/lib/python/distutils/command/install_data.pyt get_outputsTs(s install-dir=RsIbase directory for installing data files (default: installation base dir)N(sroot=Ns<install everything relative to this alternate root directory(sforceRs-force installation (overwrite existing files)( t__name__t __module__t descriptionRt user_optionstboolean_optionsRRR!R"R#(((s1/sys/lib/python/distutils/command/install_data.pyRs    ! ( t__doc__t __revision__RttypesRtdistutils.coreRtdistutils.utilRRR(((s1/sys/lib/python/distutils/command/install_data.pyss