flatpak / flatpak-builder-tools

Various helper tools for flatpak-builder
191 stars 107 forks source link

Suggestion: Shipping binaries for python with PyInstaller #350

Open omars44 opened 1 year ago

omars44 commented 1 year ago

I think it might be a good idea to depend on PyInstaller package to generate binaries that has python and deps already embedded.

Less manifests to worry about, so can contribute to a shorter release cycle, or faster workflow

Any thoughts on that? I'm experimenting with that route, and if there is interest, I can automate the process somehow, or at least write guidelines in the docs

I'm really fond of the flatpak ecosystem, just not an expert on the topic, so any feedback is appreciated.

Cheers!

ref: https://pyinstaller.org/en/stable/index.html

TingPing commented 1 year ago

If you would like to create a new tool to add to this repo then it can be merged. I'm not sure its helpful to have open ended suggestions. This repo isn't really structured that way.

omars44 commented 1 year ago

@TingPing thanks, will see

JakobDev commented 1 year ago

You mean, you like to build a binary with PyInstaller outside the Flatpak and just copy it in the Flatpak?