Custom patching with delvewheel
masterBy default, delvewheel injects patches into __init__.py files to manage the DLL search path. If you need precise control over where these patches are placed, use the --custom-patch option.
When --custom-patch is enabled, delvewheel will look for lines in your .py files containing the unindented comment # delvewheel: patch and replace those lines with the actual patch code.