ó
Xž÷Xc           @   s%   d  d l  Z  d  d l Z d   Z d S(   i˙˙˙˙Nc         C   s   g  } xu |  j    j d  D]^ } | j d t j j  } | j |  | j g  t j	 |  D] } d | | f ^ q]  q Wd j
 t |   S(   s$   Run find_packages the way we intend.s   
t   .s   %s.%s(   t   stript   splitt   replacet   ost   patht   sept   appendt   extendt
   setuptoolst   find_packagest   joint   set(   t   package_listt   packagest   pkgt   pkg_patht   f(    (    s-   /tmp/pip-build-h1VYrz/pbr/pbr/find_package.pyt   smart_find_packages   s    	.(   R   R	   R   (    (    (    s-   /tmp/pip-build-h1VYrz/pbr/pbr/find_package.pyt   <module>   s   