File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -341,17 +341,16 @@ def _stable_abi(self) -> Optional[str]:
341
341
and .so on other platforms) and, if they all share the same
342
342
PEP 3149 filename stable ABI tag, return it.
343
343
344
- All files that look like extension modules are verified to
345
- have a file name compatibel with what is expected by the
346
- Python interpreter. An exception is raised otherwise.
347
-
348
344
Other files are ignored.
349
345
350
346
"""
351
347
soext = sorted (_EXTENSION_SUFFIXES , key = len )[0 ]
352
348
abis = []
353
349
354
350
for path , _ in self ._wheel_files ['platlib' ]:
351
+ # NOTE: When searching for shared objects files, we assume the host
352
+ # and build machines have the same soext, even though that we might
353
+ # be cross compiling.
355
354
if path .suffix == soext :
356
355
match = re .match (r'^[^.]+(.*)$' , path .name )
357
356
assert match is not None
You can’t perform that action at this time.
0 commit comments