Description
Required prerequisites
- Make sure you've read the documentation. Your issue may be addressed there.
- Search the issue tracker and Discussions to verify that this hasn't already been reported. +1 or comment there if it has.
- Consider asking first in the Gitter chat room or in a Discussion.
What version (or hash if on master) of pybind11 are you using?
2.10.3
Problem description
When building my module, I expect the output to be a PYD file such as pybind11_example.cp310-win_amd64.pyd
.
Instead, the output I get is pybind11_example
(without an extension name) along with additional files python310.dll
and zlib1.dll
. Manually adding the extension name and (optionally) deleting the additional .dll
appear to give a functioning output, but I believe this is not the intended behavior.
This was not the case in version 2.9.1, where the behavior is as expected.
I believe I saw a report of a problem like this one earlier, but can't seem to find it anymore, so I apologize if I'm duplicating a post.
I have a large project and am trying to turn it into a minimum reproducible example, but here it goes, using Python3.10 and pybind11 installed via vcpkg
. The structure is inspired from this blog article https://www.benjack.io/hybrid-python/c-packages-revisited/.
Reproducible example code
No response
Is this a regression? Put the last known working version here if it is.
2.9.1