cython:如何指定目录而不是 --inplace?
我想使用 cython 将 python 模块打包到 c 中。
它使用以下命令工作:
python setup.py build_ext --inplace
--inplace
选项在当前目录中创建共享对象文件。但是,我希望在指定的文件中创建共享对象文件。我该如何实现这个功能呢?
I want to package my python module to c using cython.
It work using the following command:
python setup.py build_ext --inplace
The --inplace
option creates the shared object file in the current directory. However, I want the shared object files are created in a specified file. How can I implement this function?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论