X7ROOT File Manager
Current Path:
/opt/alt/python36/lib/python3.6/site-packages/setuptools
opt
/
alt
/
python36
/
lib
/
python3.6
/
site-packages
/
setuptools
/
ðŸ“
..
📄
__init__.py
(5.57 KB)
ðŸ“
__pycache__
📄
archive_util.py
(6.44 KB)
📄
build_meta.py
(5.54 KB)
ðŸ“
command
📄
config.py
(16 KB)
📄
dep_util.py
(935 B)
📄
depends.py
(5.7 KB)
📄
dist.py
(39.79 KB)
📄
extension.py
(1.69 KB)
ðŸ“
extern
📄
glibc.py
(3.07 KB)
📄
glob.py
(5.08 KB)
📄
launch.py
(787 B)
📄
lib2to3_ex.py
(1.97 KB)
📄
monkey.py
(5.65 KB)
📄
msvc.py
(39.93 KB)
📄
namespaces.py
(3.12 KB)
📄
package_index.py
(39.56 KB)
📄
pep425tags.py
(10.63 KB)
📄
py27compat.py
(536 B)
📄
py31compat.py
(1.16 KB)
📄
py33compat.py
(998 B)
📄
py36compat.py
(2.82 KB)
📄
sandbox.py
(13.94 KB)
📄
script (dev).tmpl
(201 B)
📄
script.tmpl
(138 B)
📄
site-patch.py
(2.25 KB)
📄
ssl_support.py
(8.29 KB)
📄
unicode_utils.py
(996 B)
📄
version.py
(144 B)
📄
wheel.py
(7.06 KB)
📄
windows_support.py
(714 B)
Editing: dep_util.py
from distutils.dep_util import newer_group # yes, this is was almost entirely copy-pasted from # 'newer_pairwise()', this is just another convenience # function. def newer_pairwise_group(sources_groups, targets): """Walk both arguments in parallel, testing if each source group is newer than its corresponding target. Returns a pair of lists (sources_groups, targets) where sources is newer than target, according to the semantics of 'newer_group()'. """ if len(sources_groups) != len(targets): raise ValueError("'sources_group' and 'targets' must be the same length") # build a pair of lists (sources_groups, targets) where source is newer n_sources = [] n_targets = [] for i in range(len(sources_groups)): if newer_group(sources_groups[i], targets[i]): n_sources.append(sources_groups[i]) n_targets.append(targets[i]) return n_sources, n_targets
Upload File
Create Folder