-í
ėķ<c       st     d  Z    d Z 
 d k Z  d k l Z  d k l Z  d k l Z l	 Z	  d e f d     YZ
 d S(   s   distutils.command.install_data

Implements the Distutils 'install_data' command, for installing
platform-independent data files.s?   $Id: install_data.py,v 1.19 2001/09/04 20:42:08 akuchling Exp $N(   s
   StringType(   s   Command(   s   change_roots   convert_paths   install_datac      s    t  Z  d Z  d d d f d e d f d d d	 f g Z  d g Z  d
   Z ' d   Z . d   Z O d   Z	 R d   Z
 RS(   Ns   install data filess   install-dir=s   dsI   base directory for installing data files (default: installation base dir)s   root=s<   install everything relative to this alternate root directorys   forces   fs-   force installation (overwrite existing files)c    sU     t  |  _   g  |  _ ! t  |  _ " d |  _ $ |  i i |  _ % d |  _ d  S(   Ni    i   (	   s   Nones   selfs   install_dirs   outfiless   roots   forces   distributions
   data_filess   warn_dir(   s   self(    (    s4   /usr/lib/python2.2/distutils/command/install_data.pys   initialize_options s   c    s;   ' ( |  i d ) d d f * d d f + d d f  d  S(   Ns   installs   install_datas   install_dirs   roots   force(   s   selfs   set_undefined_options(   s   self(    (    s4   /usr/lib/python2.2/distutils/command/install_data.pys   finalize_options' s   c    sū  . / |  i |  i  0 x|  i D0 ]} 1 t |  t j or 3 t |  } 4 |  i o! 5 |  i	 d | |  i f  n 8 |  i
 | |  i  \ } } 9 |  i i |  n< t | d  } = t i i |  o > t i i |  i |  } n' ? |  i o @ t |  i |  } n A |  i |  C | d g  j o G |  i i |  nY J xR | d DJ ]C } K t |  } L |  i
 | |  \ } } M |  i i |  qlWq# Wd  S(   NsM   setup script did not provide a directory for '%s' -- installing right in '%s'i    i   (   s   selfs   mkpaths   install_dirs
   data_filess   fs   types
   StringTypes   convert_paths   warn_dirs   warns	   copy_files   outs   _s   outfiless   appends   dirs   oss   paths   isabss   joins   roots   change_roots   data(   s   selfs   fs   _s   datas   dirs   out(    (    s4   /usr/lib/python2.2/distutils/command/install_data.pys   run. s,    	! 	c    s   O P |  i p g  Sd  S(   N(   s   selfs
   data_files(   s   self(    (    s4   /usr/lib/python2.2/distutils/command/install_data.pys
   get_inputsO s   c    s   R S |  i Sd  S(   N(   s   selfs   outfiles(   s   self(    (    s4   /usr/lib/python2.2/distutils/command/install_data.pys   get_outputsR s   (   s   __name__s
   __module__s   descriptions   Nones   user_optionss   boolean_optionss   initialize_optionss   finalize_optionss   runs
   get_inputss   get_outputs(    (    (    s4   /usr/lib/python2.2/distutils/command/install_data.pys   install_data s   		-		!(   s   __doc__s   __revision__s   oss   typess
   StringTypes   distutils.cores   Commands   distutils.utils   change_roots   convert_paths   install_data(   s
   StringTypes   __revision__s   Commands   convert_paths   install_datas   change_roots   os(    (    s4   /usr/lib/python2.2/distutils/command/install_data.pys   ? s   	