Plan 9 from Bell Labs’s /usr/web/sources/contrib/bichued/root/sys/lib/python/distutils/command/install_data.pyc

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


�
��c@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(tchange_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(tNonetinstall_dirtoutfilestrootRtdistributiont
data_filestwarn_dir(tself((s1/sys/lib/python/distutils/command/install_data.pytinitialize_options s				cCs|idddd�dS(	NtinstallRR	RR(sinstall_datasinstall_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�}tii
|�pti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
tappendtostpathtisabstjoinRR(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.pytget_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__tdescriptionRt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.pys<module>s

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.