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.
pip install delvewheelVerified import paths — ran on the pinned version, not inferred.
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.
Ensure you are running delvewheel on a Windows operating system. For Linux wheels, consider `auditwheel`.
Test your repaired wheels on a clean Windows environment. If VCRedist errors occur, ensure the target machine has the necessary VCRedist installed, or investigate if the original DLLs can be linked against a different runtime.
If a DLL is consistently missed, try to make it discoverable by adding its directory to the system PATH temporarily during the `delvewheel repair` process or by explicitly specifying its location if the original build process allows.
Always use a Python environment matching the wheel's target when running `delvewheel repair`. For example, use a Python 3.9 environment to repair Python 3.9 wheels.
No dependency data recorded yet.