Replies: 1 comment 2 replies
-
Hi! It sounds like at least the Fortran, and maybe the C++ code, is built into native extensions? And it sounds like you have enough C++ code that simply building it via build_ext is not performant, so you actually need something like Bazel there? You could potentially invoke your existing C++/Fortran builds via Pants's @sureshjoshi has been looking at some C++ support so I'll ask him to weigh in as well. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I'm working in a scientific codebase which is mostly Python but has a reasonable amount of C++ and Fortran. Right now the Python is not managed by any build tool, the C++ is Bazel and the Fortran is compiled through scikit-build and build_ext.
I'm wondering what best practices would be for moving the Python to a build tool like Pants. Some things I've tried to not a lot of success:
python setup.py build_ext; python setup.py install
.So my question: Is there a standard, recommended way to do this? Ideally I would have Python and C++ all in one repo (with protobufs compiled for both languages). Without C++ support is there a way to cleanly depend on files compiled by another tool in Pants?
Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions