A file filter that ignores anything *except* platform-specific files in the lib directory.
(dirname, names)
| 501 | |
| 502 | |
| 503 | def lib_non_platform_files(dirname, names): |
| 504 | """A file filter that ignores anything *except* platform-specific files |
| 505 | in the lib directory. |
| 506 | """ |
| 507 | path = Path(dirname) |
| 508 | if path.parts[-2] == "lib" and path.parts[-1].startswith("python"): |
| 509 | return ( |
| 510 | set(names) - lib_platform_files(dirname, names) - {"lib-dynload"} |
| 511 | ) |
| 512 | else: |
| 513 | return set() |
| 514 | |
| 515 | |
| 516 | def create_xcframework(platform: str) -> str: |
nothing calls this directly
no test coverage detected
searching dependent graphs…