Skip to content

Commit f8e7dbb

Browse files
committed
Record build tool libraries in link.json.
1 parent b8971bf commit f8e7dbb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Lib/rebuildpython.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,6 @@ def get_lib_hash():
9494

9595
def is_lib_valid(path):
9696
if os.path.isfile(path):
97-
if __np__.getToolsInstallDir() in path:
98-
# Disqualify libs from inside build tools.
99-
return False
10097
if "/~" in path or "\\~" in path:
10198
# Disqualify libs that were removed by pip.
10299
return False
@@ -354,6 +351,8 @@ def run_rebuild():
354351
inittab_code = ""
355352

356353
for module_fullname, filename in foundLibs.items():
354+
if __np__.getToolsInstallDir() in filename:
355+
continue
357356
if not is_lib_valid(filename):
358357
continue
359358

0 commit comments

Comments
 (0)