Thanks for all the answers. I think I got a lesson for the future, to firstly check if something is possible and then do it. :) I'll check nuitka and shedskin,
Also Cython — it can be used in “embedded” mode as well. https://cython.readthedocs.io/en/latest/src/tutorial/embedding.html but I wonder if it will not be easier to rewrite python functions to c++ and stay with c++ only. Or rewrite the C++ in Python. At this point you’ve done the opposite of what most folks do— written the non-computationally intensive GUI in C++, and the computational bits in Python :-) Anyway, you CAN do what you want here. It’s just that pyinstaller isn’t quite the tool you need. Look up how to distribute C++ apps with Python embedded-it certainly is done. Also, a third option is to keep most of your code the same, but make Python the “host”: so it’s the main application, and it calls your C++ code on startup. Then you could bundle it up with pyinstaller. -CHB -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/3b6107cd-0f9f-454e-82f4-d3c6c3de1b5do%40googlegroups.com <https://groups.google.com/d/msgid/pyinstaller/3b6107cd-0f9f-454e-82f4-d3c6c3de1b5do%40googlegroups.com?utm_medium=email&utm_source=footer> . -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/CALGmxEKacP6iNpBvA6kekxVxE0B8rn_KSN4UXVQM169ENTKLyg%40mail.gmail.com.
