So i'm trying to build a python package for my dissertation as a Comp-sci student, and the idea is quite similar to something like what DIPY does, but with multiple codes that other students from my university have developed during the past years. The thing is, some of these codes are written in C++, instead of Python. All of the C++ codes, have a python script running subprocess.call or subprocess.run to run the executable files, but i'd have to compile the .cpp files to even have a executable in the first place.
I've created some test packages with some of the codes developed in python, but my question is: How can i compile the codes written in C++ on the pip installation? The idea is that whenever someone installs the package from PyPI, this happens so that the user can just begin running the code afterwards.
How can i do it? Do i have any other alternatives?
Thanks in advance!