AlkantarClanX12
Current Path : /opt/alt/python39/lib64/python3.9/distutils/__pycache__/ |
Current File : //opt/alt/python39/lib64/python3.9/distutils/__pycache__/dep_util.cpython-39.opt-2.pyc |
a R�f� � @ s2 d dl Z d dlmZ dd� Zdd� Zd dd �ZdS )� N)�DistutilsFileErrorc C s` t j�| �s tdt j�| � ��t j�|�s0dS ddlm} t �| �| }t �|�| }||kS )Nzfile '%s' does not exist� r ��ST_MTIME)�os�path�existsr �abspath�statr )�source�targetr Zmtime1Zmtime2� r �7/opt/alt/python39/lib64/python3.9/distutils/dep_util.py�newer s �r c C sh t | �t |�krtd��g }g }tt | ��D ]2}t| | || �r,|�| | � |�|| � q,||fS )Nz+'sources' and 'targets' must be same length)�len� ValueError�ranger �append)�sources�targetsZ n_sourcesZ n_targets�ir r r �newer_pairwise s r �errorc C s� t j�|�sdS ddlm} t �|�| }| D ]P}t j�|�sb|dkrHn|dkrTq.n|dkrb dS t �|�| }||kr. dS q.dS )Nr r r r �ignorer )r r r r r )r r Zmissingr Ztarget_mtimer �source_mtimer r r �newer_group6 s r )r )r Zdistutils.errorsr r r r r r r r �<module> s