Delivering python application via kiwi-ng

I have been using kiwi-ng to build an appliance, and it is great! The actual payload is small application, currently implemented using some messy shell scripts and dialog for the UI.

I want to swap to using python for the application, and a UI implemented with textual, which I have working in isolation.

Textual and its dependencies need to be installed via pip (the package versions are too old). What is the recommended way to do this? I could use something like wheel2deb to generate installable packages, and install those from local package files. I could set the appliance up with a virtual environment and install the python app, textual and the other dependencies in that. Does any body have a working example of doing this that they could point me at, or at least some general advice, before I waste lots of time on a dead end.

Julian

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.