Sep-22-2022, 07:59 PM
I've got a Flatpak which uses Python and Pillow (among other things). The installation of Pillow (was written for me, had contradictions and probably wasn't right but) worked until I had to update the Pillow version, then Pillow installation failed. It works if I use a local tarball, but that's no good for releasing it on GitHub. It fails when I try using the remote tarball.
This local version works:
This local version works:
modules: - name: python3-pillow buildsystem: simple build-commands: - pip3 install --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} Pillow sources: - type: file path: /home/chris/git/Pillow-8.3.2.tar.gzFor this remote version I've removed --no-index --find-links="file://${PWD}" as I was told they are for local files, but it still fails:
modules: - name: python3-pillow buildsystem: simple build-commands: - pip3 install --prefix=${FLATPAK_DEST} Pillow sources: - type: archive url: https://github.com/python-pillow/Pillow/archive/refs/tags/8.3.2.tar.gz sha256: 8252b6b514aed2743abb5b7259b3253d6c4bf86902b9c5acd33fe79d24ec7b2fI'd appreciate some help with the PIP commands for installing from a remote archive.