-
Scout Monitoring
Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
Of course, then you need to modify the name of the DLL that your binary is searching for. Unfortunately, there's no well-supported tool like patchelf or install_name_tool for that with Windows, but you can use machomachomangler which was built to deal with this problem in the python ecosystem.
Here's a blog post about using this for bundling DLLs with python wheels, I recommend taking a look at the linked wheel_repair.py script the author made for an example of scripting a slightly more complex operation which could be adapted to the process you describe in the blog post.