[PySide] Flatpak creation
Michael Hill
mdhillca at gmail.com
Mon Feb 12 14:36:05 CET 2024
FreeCAD uses an older version but PySide is built first. Maybe this
will give you some ideas.
https://github.com/flathub/org.freecadweb.FreeCAD/blob/master/org.freecadweb.FreeCAD.yaml
Mike
On Mon, Feb 12, 2024 at 3:33 AM Alexis Jeandet
<alexis.jeandet at member.fsf.org> wrote:
>
> Hello,
>
> As a PySide user I was also looking into this since:
> - I can't use Nuitka because of a bug with Astropy https://github.com/astropy/astropy/issues/15069
> - PyInstaller can quickly become a nightmare to work with
> - AppImages are easy to build but users have to find them
> - Flatpak has FlatHub that makes distribution even simpler (compared to standalone executable)
>
> I looked quickly into Flatpak to see what it takes to package a PySide application and I agree it could be simpler.
> So I would be an happy user of tool that simplify PySide app Flatpak creation, I might also be happy to help (within my limited free time...).
>
> Alexis.
> On Sat, 2024-02-10 at 22:18 +0000, matterhorn103 via PySide wrote:
>
> Hi all,
>
> Till now I have only used pyinstaller for distribution of PySide apps, but I would like to use primarily Flatpak in the future. I can't find anything in the way of documentation for how to do this, only a few examples on various forums of people struggling to make it work.
>
> Are there any plans to develop an easy way for developers to deploy PySide6 Flatpaks?
>
> PyQt for example provides a "BaseApp" on Flathub that simplifies the creation of Flatpaks of PyQt apps by bundling the bindings and so on. (Electron apps are supported by a similar "BaseApp".) In combination with the org.kde.Platform runtime for Qt and other libraries this means deployment of a PyQt app as a Flatpak is pretty simple, see https://develop.kde.org/docs/getting-started/python/pyqt-flatpak/ this example from KDE. I prefer to use PySide – is there any chance of a similar sort of tool being made for PySide6?
>
> Alternatively, pyside6-deploy and Nuitka seem pretty useful for making performant binaries and I wonder if something similar could be made available for use in flatpak-builder and Flathub deployment.
>
> Many thanks and kind regards,
>
> Matt
>
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> https://lists.qt-project.org/listinfo/pyside
>
>
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> https://lists.qt-project.org/listinfo/pyside
More information about the PySide
mailing list