How to customize output file extension as “*.cp39-win_amd64.pyd” when creating a pybind11 python module with VS?
I’m trying to create a Pybind11 Python module (exactly a .dll
file) called CAVSim
with Visual Studio 2022.
I can simply make VS output a file named CAVSim.pyd
by configuring Advanced-Target File Extension
as .pyd
.
Now I want to output file with name like CAVSim.cp39-win_amd64.pyd
to differ modules for different version of python when uploading them to GitHub.