This is most probably a corner case for app development in Haiku, but i want to say that you can pack a python application inside a single binary with this lib.
If you want to install the library, just use pip and make sure you have the python dev package for your favourite version of python (2.x, 3.x) and run:
pip install Nuitka
It wont work “as is”, but will if you tweak the file:
And include the line around line 1027 of the file, for python 2.7:
python_header_path = "/system/develop/headers/python2.7/"
All the instructions available in the manual seem to work:
I have been doing some tests on simple helloworld-apps and others than are a bit more complex with success, but as with all this compilers, your mileage may vary.
Running times didnt get faster than running the interpreter itself, but still have the feature of having a single “distributable” binary