aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2023-09-27 15:54:11 -0700
committerMicah Lee <micah@micahflee.com>2023-09-27 15:54:11 -0700
commitce537beb9de33583862ebac5a997a0286756babe (patch)
treee60d76a91dc6def32061506fe6c36157b7824d13
parentb931bcb2c73fbf70f506af9b0c10001746549ac6 (diff)
downloadonionshare-ce537beb9de33583862ebac5a997a0286756babe.tar.gz
onionshare-ce537beb9de33583862ebac5a997a0286756babe.zip
Delete pyproject.toml files before building in flatpak to avoid trying to use poetry
-rw-r--r--flatpak/org.onionshare.OnionShare.yaml2
1 files changed, 2 insertions, 0 deletions
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