Include C++ program (makefile) #4308
Unanswered
ChristianMichelsen
asked this question in
General
Replies: 1 comment 1 reply
-
Hello @ChristianMichelsen, I move this issue to a discussion because it is not a poetry issue. But maybe others are interested in this topic as well. fin swimmer |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue
I am developing a small piece of Python software that loads the results of a C++ program (a csv-file) and makes some subsequent calculations on it and visualizes it. The C++ software does not need Python-bindings, since it right now works fine by calling it just with
subprocess
. The C++ software itself is compiled using a makefile which works fine on both my mac and the linux server we have available.To make it super easy for the end users of my software, I want to include the C++ software in my package, such that they do not have to worry about this. Now comes the question:
Should I just:
1: include the compiled binary of the C++ software and distribute individual wheels for mac and linux or
2: include the source for the C++ software (from Github), including the makefile, and let people compile it themselves?
The problem is that the end users should have as easy an entry to this software as possible (they are used to Excel right now) and compiling anything themselves would be way out of the scope (which makes solution 2 a bit difficult).
I have tried searching for previous similar topics, but most results I find seems to be more related to Cython and what seems to me to be Python-bindings of C++ software.
I have included the makefile below, in case that changes anything:
Beta Was this translation helpful? Give feedback.
All reactions