golden hour
/usr/lib64/python2.7/distutils
⬆️ Go Up
Upload
File/Folder
Size
Actions
README
295 B
Del
OK
__init__.py
337 B
Del
OK
__init__.pyc
385 B
Del
OK
__init__.pyo
385 B
Del
OK
archive_util.py
7.64 KB
Del
OK
archive_util.pyc
7.28 KB
Del
OK
archive_util.pyo
7.28 KB
Del
OK
bcppcompiler.py
14.59 KB
Del
OK
bcppcompiler.pyc
7.7 KB
Del
OK
bcppcompiler.pyo
7.7 KB
Del
OK
ccompiler.py
45.54 KB
Del
OK
ccompiler.pyc
35.96 KB
Del
OK
ccompiler.pyo
35.82 KB
Del
OK
cmd.py
18.82 KB
Del
OK
cmd.pyc
16.41 KB
Del
OK
cmd.pyo
16.41 KB
Del
OK
command
-
Del
OK
config.py
4.03 KB
Del
OK
config.pyc
3.49 KB
Del
OK
config.pyo
3.49 KB
Del
OK
core.py
8.88 KB
Del
OK
core.pyc
7.5 KB
Del
OK
core.pyo
7.5 KB
Del
OK
cygwinccompiler.py
16.87 KB
Del
OK
cygwinccompiler.pyc
9.19 KB
Del
OK
cygwinccompiler.pyo
9.19 KB
Del
OK
debug.py
162 B
Del
OK
debug.pyc
254 B
Del
OK
debug.pyo
254 B
Del
OK
dep_util.py
3.43 KB
Del
OK
dep_util.pyc
3.11 KB
Del
OK
dep_util.pyo
3.11 KB
Del
OK
dir_util.py
7.78 KB
Del
OK
dir_util.pyc
6.72 KB
Del
OK
dir_util.pyo
6.72 KB
Del
OK
dist.py
48.88 KB
Del
OK
dist.pyc
38.64 KB
Del
OK
dist.pyo
38.64 KB
Del
OK
emxccompiler.py
11.65 KB
Del
OK
emxccompiler.pyc
7.29 KB
Del
OK
emxccompiler.pyo
7.29 KB
Del
OK
errors.py
3.41 KB
Del
OK
errors.pyc
6.14 KB
Del
OK
errors.pyo
6.14 KB
Del
OK
extension.py
10.65 KB
Del
OK
extension.pyc
7.24 KB
Del
OK
extension.pyo
7.02 KB
Del
OK
fancy_getopt.py
17.53 KB
Del
OK
fancy_getopt.pyc
11.68 KB
Del
OK
fancy_getopt.pyo
11.5 KB
Del
OK
file_util.py
7.61 KB
Del
OK
file_util.pyc
6.47 KB
Del
OK
file_util.pyo
6.47 KB
Del
OK
filelist.py
12.39 KB
Del
OK
filelist.pyc
10.51 KB
Del
OK
filelist.pyo
10.51 KB
Del
OK
log.py
1.65 KB
Del
OK
log.pyc
2.72 KB
Del
OK
log.pyo
2.72 KB
Del
OK
msvc9compiler.py
30.29 KB
Del
OK
msvc9compiler.pyc
21.04 KB
Del
OK
msvc9compiler.pyo
20.96 KB
Del
OK
msvccompiler.py
23.08 KB
Del
OK
msvccompiler.pyc
17.11 KB
Del
OK
msvccompiler.pyo
17.11 KB
Del
OK
spawn.py
7.61 KB
Del
OK
spawn.pyc
6.02 KB
Del
OK
spawn.pyo
6.02 KB
Del
OK
sysconfig.py
16.52 KB
Del
OK
sysconfig.py.debug-build
16.42 KB
Del
OK
sysconfig.pyc
12.96 KB
Del
OK
sysconfig.pyo
12.96 KB
Del
OK
text_file.py
12.12 KB
Del
OK
text_file.pyc
9.03 KB
Del
OK
text_file.pyo
9.03 KB
Del
OK
unixccompiler.py
12.56 KB
Del
OK
unixccompiler.py.distutils-rpath
12.03 KB
Del
OK
unixccompiler.pyc
7.76 KB
Del
OK
unixccompiler.pyo
7.76 KB
Del
OK
util.py
18.28 KB
Del
OK
util.pyc
14.58 KB
Del
OK
util.pyo
14.58 KB
Del
OK
version.py
11.17 KB
Del
OK
version.pyc
7.04 KB
Del
OK
version.pyo
7.04 KB
Del
OK
versionpredicate.py
4.98 KB
Del
OK
versionpredicate.pyc
5.41 KB
Del
OK
versionpredicate.pyo
5.41 KB
Del
OK
Edit: dep_util.pyc
� ��ic @ sZ d Z d Z d d l Z d d l m Z d d l m Z d � Z d � Z d d � Z d S( s� 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.s $Id$i����N( t ST_MTIME( t DistutilsFileErrorc C sk t j j | � s1 t d t j j | � � � n t j j | � sG t St j | � t t j | � t k S( s� Tells if the target is newer than the source. 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. Note that this test is not very accurate: files created in the same second will have the same "age". s file '%s' does not exist( t ost patht existsR t abspatht Truet statR ( t sourcet target( ( s* /usr/lib64/python2.7/distutils/dep_util.pyt newer s c C s� t | � t | � k r$ t d � n g } g } xI t | | � D]8 \ } } t | | � r@ | j | � | j | � q@ q@ W| | f S( s� 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()'. s+ 'sources' and 'targets' must be same length( t lent ValueErrort zipR t append( t sourcest targetst n_sourcest n_targetsR R ( ( s* /usr/lib64/python2.7/distutils/dep_util.pyt newer_pairwise! s t errorc C s� t j j | � s t St j | � t } xq | D]i } t j j | � s| | d k rW q| | d k ri q0 q| | d k r| t Sn t j | � t | k r0 t Sq0 Wt S( s� Return true if 'target' is out-of-date with respect to any file listed in 'sources'. In other words, if 'target' exists and is newer than every file in 'sources', return false; otherwise return true. 'missing' controls what we do when a source file is missing; the default ("error") is to blow up with an OSError from inside 'stat()'; if it is "ignore", we silently drop any missing source files; if it is "newer", any missing source files make us assume that 'target' is out-of-date (this is handy in "dry-run" mode: it'll make you pretend to carry out commands that wouldn't work because inputs are missing, but that doesn't matter because you're not actually going to run the commands). R t ignoreR ( R R R R R R t False( R R t missingt target_mtimeR ( ( s* /usr/lib64/python2.7/distutils/dep_util.pyt newer_group4 s ( t __doc__t __revision__R R R t distutils.errorsR R R R ( ( ( s* /usr/lib64/python2.7/distutils/dep_util.pyt <module> s
Save