Ńň
ýÉŞWc           @   s6   d  d k  Z  d  d k l Z d e f d     YZ d S(   i˙˙˙˙N(   t   InstallComponentt   InstallComponentBuilderc           B   s   e  Z d    Z d   Z RS(   c         C   s:   t  i   } x' | D] } |  i | | i d   q W| S(   Nt   /(   R    t   createEmptyInstallComponentt   buildComponentRecursivelyt   split(   t   selft   componentListt   builtComponentst	   component(    (    sq   /home/jenkins/workspace/prepack-aio-release-4.2/prepack-aio/src/main/resources/scripts/InstallComponentBuilder.pyt   buildInstallComponents   s
     c         C   su   | oj | i  | d  } | p! t | d  } | i |  n t |  d j o |  i | | d  qq n d  S(   Ni    i   (   t   getInstallComponentByNameR    t   addSubComponentt   lenR   (   R   R   t   componentArrayt   sub(    (    sq   /home/jenkins/workspace/prepack-aio-release-4.2/prepack-aio/src/main/resources/scripts/InstallComponentBuilder.pyR      s    (   t   __name__t
   __module__R
   R   (    (    (    sq   /home/jenkins/workspace/prepack-aio-release-4.2/prepack-aio/src/main/resources/scripts/InstallComponentBuilder.pyR      s   	(   t   osR    t   objectR   (    (    (    sq   /home/jenkins/workspace/prepack-aio-release-4.2/prepack-aio/src/main/resources/scripts/InstallComponentBuilder.pyt   <module>   s   