Delvewheel

1.12.0 · active · verified Thu Apr 16

Delvewheel is a utility that creates self-contained Python wheels for Windows by embedding external shared libraries (DLLs) into the wheel. This helps to eliminate common 'DLL not found' errors when deploying Python packages on Windows. The current version is 1.12.0, and it is actively maintained with releases tied to necessary updates for Python versions or dependency handling.

Common errors

Warnings

Install

Imports

Quickstart

To use delvewheel, you typically invoke it from the command line using `python -m delvewheel repair` followed by the path to your wheel file(s). It will create a new, repaired wheel in the same directory or a specified output directory.

# Assume 'my_package-1.0-cp39-cp39-win_amd64.whl' is a wheel file to be repaired
# Run delvewheel from your terminal or command prompt

# Basic repair, will attempt to find and embed DLLs
python -m delvewheel repair my_package-1.0-cp39-cp39-win_amd64.whl

# Repair with custom output directory
python -m delvewheel repair --wheel-dir ./repaired_wheels my_package-1.0-cp39-cp39-win_amd64.whl

view raw JSON →