specify *.pyd output path?

你说的曾经没有我的故事 提交于 2019-12-04 05:05:25

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!