$npx skillfedfor your agent

delocate

Move macOS dynamic libraries into package

With conditionsPyPI Python ModulesReleased Jan 2025598.5K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — delocate-0.13.0-py3-none-any.whl
v0.13.0 · released 2025-01-30 · Python >=3.9 · 3 runtime deps: packaging, typing_extensions, macholib

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • macOS only; requires Python 3.9 or later; wheels must contain compiled extensions with dynamic library dependencies to be useful.
  • Low friction: pure Python wheel with three lightweight runtime dependencies (packaging, typing_extensions, macholib).
  • Active maintenance with last commit 2026-05-25 and stable release status.

License · maintenance · safety

permissive license (permissive) — BSD 2-Clause permissive license; you can use, modify, and distribute delocate and wheels it processes freely, provided you retain the copyright notice and disclaimer.

last release 2025-01-30 (561 days) · last repo commit 2026-05-25 · 297 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 598,544 downloads/mo, #5,833 on PyPI

Verify before relying

pip install delocate

# List dynamic libraries a wheel depends on
delocate-listdeps scipy-0.14.0-cp34-cp34m-macosx_10_6_intel.whl

# Copy libraries into wheel and relink
delocate-wheel -w fixed_wheels scipy-0.14.0-cp34-cp34m-macosx_10_6_intel.whl
  • Whether delocate-merge (dual-architecture wheel combining) works with current macOS/Xcode toolchains.
  • Performance impact of delocate-wheel on large wheels with many library dependencies.
Same gist for agents: .md · .json

What it is and 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—making 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.

The 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.

Use it for

  • 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+.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

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.

Install

delocate on PyPI

Before you install

Low friction: pure Python wheel with three lightweight runtime dependencies (packaging, typing_extensions, macholib). Active maintenance with last commit 2026-05-25 and stable release status.

macOS only; requires Python 3.9 or later; wheels must contain compiled extensions with dynamic library dependencies to be useful.

License in practice

BSD 2-Clause permissive license; you can use, modify, and distribute delocate and wheels it processes freely, provided you retain the copyright notice and disclaimer.

Quickstart

pip install delocate

# List dynamic libraries a wheel depends on
delocate-listdeps scipy-0.14.0-cp34-cp34m-macosx_10_6_intel.whl

# Copy libraries into wheel and relink
delocate-wheel -w fixed_wheels scipy-0.14.0-cp34-cp34m-macosx_10_6_intel.whl

Verify before relying

  • Whether delocate-merge (dual-architecture wheel combining) works with current macOS/Xcode toolchains.
  • Performance impact of delocate-wheel on large wheels with many library dependencies.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
packagingtyping_extensionsmacholib
MaintenanceActively maintained 561 days since the last release
Last repo commit
First released
Downloads598,544 / month, #5,833 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishOperating System :: MacOS :: MacOS XProgramming Language :: Python :: 3Topic :: Software Development :: Build ToolsTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: delocate-0.13.0-py3-none-any.whl

Tags

Capabilities
macOS wheel dynamic library bundlingmacos dylib relocation for wheelsfix wheel dependencies macosdelocate wheel macosbundle dylibs into python wheelmacos install_name rpath rewriting
Topics
macos-specificwheel-packagingbinary-relocation

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “macOS wheel dynamic library bundling”

  • delocateDelocate finds and relocates dynamic libraries that macOS Python…
  • delvewheelBundles DLL dependencies into Windows Python wheels to create…
  • repairwheelRepairs wheels for cross-platform distribution by bundling native…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also repairwheel · comfy-angle · macholib · cibuildwheel · relenv · scipy-openblas32 · dlinfo · dlib-bin · delvewheel · findlibs