{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/11"},{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/2"}],"enrichment":{"capability":"Delocate finds and relocates dynamic libraries that macOS Python extensions depend on, bundling them into wheels and rewriting load paths so wheels work on machines without those libraries installed.","skillfed_tags":["macos-specific","wheel-packaging","binary-relocation"],"use_cases":["Build and distribute a Scipy or NumPy wheel from a machine with Homebrew gfortran without requiring users to install gfortran.","Verify that a wheel's compiled extensions and libraries have the correct architectures (x86_64, arm64) before release.","Combine separately built x86_64 and arm64 wheels into a single universal2 wheel for macOS.","Audit which external dynamic libraries a third-party wheel depends on before installation.","Prepare wheels for PyPI distribution that will work on any macOS machine with Python 3.9+."],"what_it_does":"Delocate is a macOS-specific build tool that solves the problem of distributing Python wheels containing compiled extensions that link to dynamic libraries outside the system paths. When you build a wheel on a machine with Homebrew or custom-compiled libraries, the wheel's extensions link to those libraries by absolute path\u2014making the wheel fail on other machines that don't have them installed. Delocate analyzes the wheel, copies all non-system dynamic libraries into a `.dylibs` directory within the wheel, and rewrites the extension load paths to find them there instead.\n\nThe package provides four command-line tools: `delocate-listdeps` shows what libraries a wheel depends on, `delocate-path` relocates libraries in a directory tree, `delocate-wheel` processes a wheel file directly, and `delocate-merge` combines wheels built for different architectures (e.g., `x86_64` and `arm64`) into a single universal binary. It also validates that wheels contain the required architectures for compatibility with system Python and Python.org distributions.","worth_installing":"Yes, if you build or distribute Python wheels on macOS with compiled extensions. Delocate is the standard tool for making those wheels portable across machines. If you only install wheels or work on Linux, it is not needed. No known security vulnerabilities; actively maintained; low install friction."},"id":"delocate","links":{"html":"https://skillfed.io/packages/delocate","md":"https://skillfed.io/packages/delocate.md","pypi":"https://pypi.org/project/delocate/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-01-30","license_spdx":null,"license_treatment":"permissive","name":"delocate","python_support":"supports_current","summary":"Move macOS dynamic libraries into package"},"popularity":{"monthly_downloads":598544,"position":5833,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.13.0"}
