I’m a Python Developer that uses PyQt/PySide for the GUI. I want to publish some of them on Flathub. I got just started with Flatpak. This is my manifest for all of my Apps:
app-id: org.flatpak.PySide
runtime: org.kde.Platform
runtime-version: '5.15'
sdk: org.kde.Sdk
command: myApp
finish-args:
- --socket=x11
- --socket=wayland
modules:
- name: myApp
buildsystem: simple
build-commands:
- pip3 install --prefix=/app -r requirements.txt
- python3 setup.py install --prefix=/app --optimize=1
build-options:
build-args:
- --share=network
sources:
- type: archive
url: url_to_soucre
sha256: checksum
This works for all of my apps. There are some problems with styling, that I need to solve, but it works. Here is my Question: Is it allowed to install all dependencies with pip instead of using Flatpack modules, when I want to add the Manifest to Flathub?