3 ]@sddlmZddZdS)) newer_groupcCslt|t|krtdg}g}xBtt|D]2}t||||r.|j|||j||q.W||fS)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 ValueErrorrangerappend)Zsources_groupstargets n_sources n_targetsir 9/tmp/pip-build-8jg9gmni/setuptools/setuptools/dep_util.pynewer_pairwise_groupsr N)distutils.dep_utilrr r r r r s