
(h                 @   s    d  d l  m Z d d   Z d S)    )newer_groupc             C   s   t  |   t  |  k r$ t d   g  } g  } xS t t  |    D]? } t |  | | |  rC | j |  |  | j | |  qC W| | f S)zWalk both arguments in parallel, testing if each source group is newer
    than its corresponding target. Returns a pair of lists (sources_groups,
    targets) where sources is newer than target, according to the semantics
    of 'newer_group()'.
    z5'sources_group' and 'targets' must be the same length)len
ValueErrorranger   append)Zsources_groupstargets	n_sources	n_targetsi r   9/tmp/pip-build-kmztzv_d/setuptools/setuptools/dep_util.pynewer_pairwise_group   s    	r   N)distutils.dep_utilr   r   r   r   r   r   <module>   s   