관리-도구
편집 파일: dep_util.cpython-34.pyo
� h f� � @ 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 | � s1 t d t j j | � � � n t j j | � sG 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/python34/lib64/python3.4/distutils/dep_util.py�newer s r c C s� t | � t | � k r'