Your IP : 3.140.195.8


Current Path : /usr/lib64/python2.7/distutils/command/
Upload File :
Current File : //usr/lib64/python2.7/distutils/command/install_data.pyc

�
{fc@sXdZdZddlZddlmZddlmZmZdefd��YZdS(s�distutils.command.install_data

Implements the Distutils 'install_data' command, for installing
platform-independent data files.s$Id$i����N(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|_|jj|_d|_dS(Nii(tNonetinstall_dirtoutfilestrootRtdistributiont
data_filestwarn_dir(tself((s6/usr/lib64/python2.7/distutils/command/install_data.pytinitialize_optionss				cCs|jdddd�dS(	NtinstallRRR
R(RR(R
R
(RR(tset_undefined_options(R((s6/usr/lib64/python2.7/distutils/command/install_data.pytfinalize_options%s	cCsk|j|j�xT|jD]I}t|t�r�t|�}|jra|jd||jf�n|j||j�\}}|j	j
|�qt|d�}tjj
|�s�tjj|j|�}n|jr�t|j|�}n|j|�|dgkr|j	j
|�qxF|dD]:}t|�}|j||�\}}|j	j
|�q%WqWdS(NsMsetup script did not provide a directory for '%s' -- installing right in '%s'ii(tmkpathRRt
isinstancetstrRR
twarnt	copy_fileR	tappendtostpathtisabstjoinR
R(RRtoutt_tdirtdata((s6/usr/lib64/python2.7/distutils/command/install_data.pytrun,s*			
cCs
|jpgS(N(R(R((s6/usr/lib64/python2.7/distutils/command/install_data.pyt
get_inputsMscCs|jS(N(R	(R((s6/usr/lib64/python2.7/distutils/command/install_data.pytget_outputsPs(sinstall-dir=RsIbase directory for installing data files (default: installation base dir)N(sroot=Ns<install everything relative to this alternate root directory(RRs-force installation (overwrite existing files)(t__name__t
__module__tdescriptionRtuser_optionstboolean_optionsRRR!R"R#(((s6/usr/lib64/python2.7/distutils/command/install_data.pyRs					!	(	t__doc__t__revision__Rtdistutils.coreRtdistutils.utilRRR(((s6/usr/lib64/python2.7/distutils/command/install_data.pyt<module>s


?>