问题
In this post, the answer is for the output path of .c files.
I want to know how can I output all the .pyd file to a specific directory (by default, it mingles with the source code), for example, the directory pyd/ in the source code.
回答1:
You can pass the command-line argument --build-lib your/desired/output/path to the python invocation which executes setup.py.
Also, this option is not compatible with --inplace. If you're using that, remove it.
来源:https://stackoverflow.com/questions/53716559/specify-pyd-output-path