Skip to content
Snippets Groups Projects
Commit c97ceed5 authored by Campbell Barton's avatar Campbell Barton Committed by Gitea
Browse files

Fix failure to remove libraries when removing wheels

Disabling wheels wasn't removing the modules "*.libs" directories.

Pull Request: https://projects.blender.org/blender/blender/pulls/126404
parent 26c14a22
Branches
No related tags found
No related merge requests found
...@@ -93,6 +93,10 @@ def _wheels_from_dir(dirpath: str) -> Tuple[ ...@@ -93,6 +93,10 @@ def _wheels_from_dir(dirpath: str) -> Tuple[
toplevel_paths_set.add(path_split[0]) toplevel_paths_set.add(path_split[0])
# Some wheels contain `{name}.libs` which are *not* listed in `RECORD`.
# Always add the path, the value will be skipped if it's missing.
toplevel_paths_set.add(os.path.join(dirpath, name.partition("-")[0] + ".libs"))
result[name] = list(sorted(toplevel_paths_set)) result[name] = list(sorted(toplevel_paths_set))
del toplevel_paths_set del toplevel_paths_set
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment