Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I really struggle with this part of Python package development. I have a rather complex C++ library I have been calling with Cython but I am struggling to find the best practices for either compiling the library with setup tools or calling cmake and copying the library into the package etc.


Look into Bazel. Bazel particularly suited to building Python+{C/C++/Rust} codebases.

It's still early days in the Bazel ecosystem, so you won't find a ready-made solution, but the fundamentals are solid.


Oh cool thanks, I will check it out!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: