|
Server : LiteSpeed System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : elvh3918 ( 1528) PHP Version : 8.2.31 Disable Function : mail Directory : /proc/self/root/opt/alt/python35/lib64/python3.5/distutils/__pycache__/ |
��qc�
� @ 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"