Объединить SETProtocol v2 и общие кодеки #1
@@ -67,7 +67,9 @@ def _library_candidates() -> Iterable[Path | str]:
|
||||
# One-release fallback for already packaged SETCore binaries.
|
||||
"setcore.dll", "libsetcore.so", "libsetcore.dylib",
|
||||
)
|
||||
for parent in (here.parent, *here.parents[:5]):
|
||||
# Python 3.8 (used by the Windows 7 build) does not support slicing
|
||||
# Path.parents directly. Convert the sequence before taking the slice.
|
||||
for parent in (here.parent, *tuple(here.parents)[:5]):
|
||||
for name in names:
|
||||
yield parent / "native" / name
|
||||
yield parent / name
|
||||
|
||||
Reference in New Issue
Block a user