Ñò
‹”Jc           @   s6   d  d k  l Z d  d k Z d e f d „  ƒ  YZ d S(   iÿÿÿÿ(   t   install_libNR    c           B   sG   e  Z d  Z d „  Z d „  Z d „  Z d d d d d „ Z d „  Z RS(   s9   Don't add compiled flags to filenames of non-Python filesc         C   sv   g  } xi | D]a } | i  d ƒ p q n |  i o | i | d ƒ n |  i d j o | i | d ƒ q q W| S(   Ns   .pyt   ci    t   o(   t   endswitht   compilet   appendt   optimize(   t   selft   py_filenamest   bytecode_filest   py_file(    (    sB   /usr/lib/python2.6/dist-packages/setuptools/command/install_lib.pyt   _bytecode_filenames   s     
c         C   s8   |  i  ƒ  |  i ƒ  } | d  j	 o |  i | ƒ n d  S(   N(   t   buildt   installt   Nonet   byte_compile(   R   t   outfiles(    (    sB   /usr/lib/python2.6/dist-packages/setuptools/command/install_lib.pyt   run   s    
c         C   s¯   h  } |  i  i } | o’ |  i d ƒ i o x| | D]p } | i d ƒ } xX | oP t i i |  i | Œ } x' d D] } d | t i i | | ƒ <qq W| i	 ƒ  qK Wq3 Wn | S(   NR   t   .s   __init__.pys   __init__.pycs   __init__.pyoi   (   s   __init__.pys   __init__.pycs   __init__.pyo(
   t   distributiont   namespace_packagest   get_finalized_commandt!   single_version_externally_managedt   splitt   ost   patht   joint   install_dirt   pop(   R   t   excludet   nspt   pkgt   partst   pkgdirt   f(    (    sB   /usr/lib/python2.6/dist-packages/setuptools/command/install_lib.pyt   get_exclusions   s       i   i    c   	         s“   | o | o | p t  ‚ |  i ƒ  ‰ ˆ p t i |  | | ƒ Sd d k l } d d k l ‰ g  ‰  ‡ ‡  ‡ f d †  } | | | | ƒ ˆ  S(   Niÿÿÿÿ(   t   unpack_directory(   t   logc            sR   | ˆ j o ˆ  i  d | ƒ t Sˆ  i d |  t i i | ƒ ƒ ˆ i | ƒ | S(   Ns/   Skipping installation of %s (namespace package)s   copying %s -> %s(   t   warnt   Falset   infoR   R   t   dirnameR   (   t   srct   dst(   R%   R   R   (    sB   /usr/lib/python2.6/dist-packages/setuptools/command/install_lib.pyt   pf;   s    (   t   AssertionErrorR#   t   _install_libt	   copy_treet   setuptools.archive_utilR$   t	   distutilsR%   (	   R   t   infilet   outfilet   preserve_modet   preserve_timest   preserve_symlinkst   levelR$   R,   (    (   R   R   R%   sB   /usr/lib/python2.6/dist-packages/setuptools/command/install_lib.pyR/   *   s    	c         C   sW   t  i |  ƒ } |  i ƒ  } | o1 g  } | D] } | | j o | | q- q- ~ S| S(   N(   R.   t   get_outputsR#   (   R   t   outputsR   t   _[1]R"   (    (    sB   /usr/lib/python2.6/dist-packages/setuptools/command/install_lib.pyR8   G   s
    1(   t   __name__t
   __module__t   __doc__R   R   R#   R/   R8   (    (    (    sB   /usr/lib/python2.6/dist-packages/setuptools/command/install_lib.pyR       s   			(   t   distutils.command.install_libR    R.   R   (    (    (    sB   /usr/lib/python2.6/dist-packages/setuptools/command/install_lib.pyt   <module>   s   