Your IP : 18.217.241.235
��Yf�
� @ sM d Z d d l Z d d l m Z d d � Z d d � Z d d d
� Z d S)z�distutils.dep_util
Utility functions for simple, timestamp-based dependency of files
and groups of files; also, function based entirely on such
timestamp dependency analysis.� N)�DistutilsFileErrorc C s� t j j | � s. t d t j j | � � � t j j | � sD d Sd d l m } t j | � | } t j | � | } | | k S)a Return true if 'source' exists and is more recently modified than
'target', or if 'source' exists and 'target' doesn't. Return false if
both exist and 'target' is the same age or younger than 'source'.
Raise DistutilsFileError if 'source' does not exist.
zfile '%s' does not exist� r )�ST_MTIME)�os�path�existsr �abspath�statr )�source�targetr Zmtime1Zmtime2� r �7/opt/alt/python35/lib64/python3.5/distutils/dep_util.py�newer s r c C s� t | � t | � k r$ t d � � g } g } xS t t | � � D]? } t | | | | � rC | j | | � | j | | � qC W| | f S)z�Walk two filename lists in parallel, testing if each source is newer
than its corresponding target. Return a pair of lists (sources,
targets) where source is newer than target, according to the semantics
of 'newer()'.
z+'sources' and 'targets' must be same length)�len�
ValueError�ranger �append)�sourcesZtargetsZ n_sourcesZ n_targets�ir r r
�newer_pairwise s r �errorc C s� t j j | � s d Sd d l m } t j | � | } xx | D]l } t j j | � s� | d k rg n"