Объединить SETProtocol v2 и общие кодеки #1

Merged
Andrey merged 15 commits from codex/setprotocol-v2-all into master 2026-09-01 20:43:49 +03:00
Showing only changes of commit 076c51c083 - Show all commits

View File

@@ -67,7 +67,9 @@ def _library_candidates() -> Iterable[Path | str]:
# One-release fallback for already packaged SETCore binaries. # One-release fallback for already packaged SETCore binaries.
"setcore.dll", "libsetcore.so", "libsetcore.dylib", "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: for name in names:
yield parent / "native" / name yield parent / "native" / name
yield parent / name yield parent / name