X7ROOT File Manager
Current Path:
/lib/python3.8/site-packages/setuptools
lib
/
python3.8
/
site-packages
/
setuptools
/
ðŸ“
..
📄
__init__.py
(7.11 KB)
ðŸ“
__pycache__
📄
_deprecation_warning.py
(218 B)
📄
_imp.py
(2.17 KB)
ðŸ“
_vendor
📄
archive_util.py
(6.44 KB)
📄
build_meta.py
(9.37 KB)
ðŸ“
command
📄
config.py
(20.05 KB)
📄
dep_util.py
(935 B)
📄
depends.py
(5.39 KB)
📄
dist.py
(49.13 KB)
📄
extension.py
(1.69 KB)
ðŸ“
extern
📄
glibc.py
(3.07 KB)
📄
glob.py
(4.96 KB)
📄
launch.py
(787 B)
📄
lib2to3_ex.py
(1.97 KB)
📄
monkey.py
(5.14 KB)
📄
msvc.py
(45.66 KB)
📄
namespaces.py
(3.12 KB)
📄
package_index.py
(39.65 KB)
📄
pep425tags.py
(10.61 KB)
📄
py27compat.py
(1.46 KB)
📄
py31compat.py
(838 B)
📄
py33compat.py
(1.3 KB)
📄
py34compat.py
(245 B)
📄
sandbox.py
(13.94 KB)
📄
script (dev).tmpl
(218 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.9 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