From ce537beb9de33583862ebac5a997a0286756babe Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Wed, 27 Sep 2023 15:54:11 -0700 Subject: [PATCH] Delete pyproject.toml files before building in flatpak to avoid trying to use poetry --- flatpak/org.onionshare.OnionShare.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flatpak/org.onionshare.OnionShare.yaml b/flatpak/org.onionshare.OnionShare.yaml index 8f72cdab..f928d42a 100644 --- a/flatpak/org.onionshare.OnionShare.yaml +++ b/flatpak/org.onionshare.OnionShare.yaml @@ -302,6 +302,7 @@ modules: ensure-writable: - easy-install.pth build-commands: + - rm desktop/pyproject.toml - cd desktop && pip3 install --prefix=${FLATPAK_DEST} . - cd desktop && install -D -m0644 org.onionshare.OnionShare.appdata.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.appdata.xml - cd desktop && install -D -m0644 org.onionshare.OnionShare.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/org.onionshare.OnionShare.svg @@ -356,6 +357,7 @@ modules: - name: onionshare-cli buildsystem: simple build-commands: + - rm cli/pyproject.toml - cd cli && pip3 install --prefix=${FLATPAK_DEST} --no-deps . sources: - type: dir