Invoke wheel cleaner after the install step #13

Merged
Sergey Sharybin merged 2 commits from wheel_cleanup into main 2024-11-21 09:54:08 +01:00
Showing only changes of commit 7222b2b04c - Show all commits

View File

@ -533,3 +533,8 @@ def compile_install(builder: worker.blender.CodeBuilder) -> None:
builder.setup_build_environment()
cmake_configure(builder)
cmake_build(builder, True)
if builder.python_module:
wheel_cleanup_tool = builder.blender_dir / "tools" / "utils_build" / "wheel_cleanup.py"
if wheel_cleanup_tool.exists():
builder.call(("python", wheel_cleanup_tool, builder.install_dir / "bpy"))