Using cx_freeze to create a library to run in process with another #2290
Unanswered
EmersonDove
asked this question in
Q&A
Replies: 1 comment
-
Theoretically yes, you can make a new base and a new initscript. What is done in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone, been loving this library. We've been running a python service as a subprocess via a cx_Freeze executable, but just to simplify our stack we've been looking into embedding python into the parent process as a library.
Because
cx_Freeze
effectively creates anint main
entrypoint, could the build system be modified to produce a dylib/dll instead of an executable with for example astart
function?cx_Freeze/source/bases/console.c
Lines 47 to 75 in bfd4627
I just want to ask before embarking on changing the build system if there this approach is fundamentally flawed or if there are any big issues hiding anywhere.
I couldn't find anything in the docs or other discussions about this but perhaps I totally missed something!
Beta Was this translation helpful? Give feedback.
All reactions