We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8971bf commit f8e7dbbCopy full SHA for f8e7dbb
Lib/rebuildpython.py
@@ -94,9 +94,6 @@ def get_lib_hash():
94
95
def is_lib_valid(path):
96
if os.path.isfile(path):
97
- if __np__.getToolsInstallDir() in path:
98
- # Disqualify libs from inside build tools.
99
- return False
100
if "/~" in path or "\\~" in path:
101
# Disqualify libs that were removed by pip.
102
return False
@@ -354,6 +351,8 @@ def run_rebuild():
354
351
inittab_code = ""
355
352
356
353
for module_fullname, filename in foundLibs.items():
+ if __np__.getToolsInstallDir() in filename:
+ continue
357
if not is_lib_valid(filename):
358
continue
359
0 commit comments