From e5e2f8eb574d4641e93a19c7e15e24a17332ac64 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Sat, 8 Feb 2025 17:58:02 +1100 Subject: [PATCH] Add --use-pep517 back in to onionshare-cli.yaml and update RELEASE.md file to remind this --- RELEASE.md | 2 +- flatpak/onionshare-cli.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index 98baff6a..3acc853a 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -115,7 +115,7 @@ In `flatpak/org.onionshare.OnionShare.yaml`: mv python3-modules.yml onionshare-desktop.yaml ``` - Now, move `onionshare-desktop.yaml` and `onionshare-cli.yaml` into the `flatpak/` folder. + Now, move `onionshare-desktop.yaml` and `onionshare-cli.yaml` into the `flatpak/` folder. For the `onionshare-cli.yaml` file, adjust the `pip3 install` step so that it includes the `--use-pep517` argument. - [ ] Build and test the Flatpak package to ensure it works: ```sh diff --git a/flatpak/onionshare-cli.yaml b/flatpak/onionshare-cli.yaml index 3889cd3b..34be339b 100644 --- a/flatpak/onionshare-cli.yaml +++ b/flatpak/onionshare-cli.yaml @@ -1,7 +1,7 @@ name: poetry-deps buildsystem: simple build-commands: - - pip3 install --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} + - pip3 install --use-pep517 --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} bidict blinker brotli brotlicffi certifi cffi charset-normalizer click colorama cython dnspython eventlet exceptiongroup flask flask-compress flask-socketio gevent gevent-websocket greenlet h11 idna importlib-metadata iniconfig itsdangerous jinja2