|
I have a module named rl_cpp, and this is the cmakelist: The output file's name is still rl_cpp.cp38-win_amd64.pyd, is the part ".cp38-win_amd64" unchangeable? I want the file name to be "rl_cpp.pyd". Are there any methods? |
Answered by
sebe324
Sep 23, 2023
Replies: 1 comment 2 replies
|
Hello! You can try this: Here is the result on my pc: |
2 replies
Answer selected by
hanyuu11
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Hello!
I know I'm responding to this quite late, but I've recently had the same problem, but after some digging I got this to work.
What worked for me was using the Python_add_library function istead of pybind11_add_module.
Link
You can try this:
Here is the result on my pc: