$ account matthew-brett
[github ↗]
1 repos indexed
Delocate is a macOS-specific tool for making Python wheels redistributable by bundling required dynamic libraries. It analyzes wheels to find external library dependencies, copies those libraries into the wheel, and updates install names and rpaths to use @loader_path references. The tool consists of a core library with a rich CLI interface providing commands like delocate-wheel, delocate-path, delocate-listdeps, and delocate-merge for combining wheels of different architectures. The architecture separates concerns into modules for dependency analysis (libsana), low-level Mach-O binary manipulation (tools), wheel-specific operations (wheeltools), and directory tree fusing (fuse).
RATING:
MAINT: active
DRIFT: low