Y@s ddlmZddZdS)) newer_groupcCst|t|kr$tdg}g}xStt|D]?}t||||rC|j|||j||qCW||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-3puug3g5/setuptools/setuptools/dep_util.pynewer_pairwise_groups r N)distutils.dep_utilrr r r r r s