aboutsummaryrefslogtreecommitdiff
path: root/snap
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2022-10-09 11:36:49 -0700
committerMicah Lee <micah@micahflee.com>2022-10-09 11:36:54 -0700
commit3c4f391eecf317466b0d5f476f8a032550408528 (patch)
treeeac4b8a3d1bc60a35e88723009e8402f5ea80dc3 /snap
parentb8bc73e7114d06a8359b38a6023c3830389d4d50 (diff)
downloadonionshare-3c4f391eecf317466b0d5f476f8a032550408528.tar.gz
onionshare-3c4f391eecf317466b0d5f476f8a032550408528.zip
Snapcraft: Show verbose pip install
Diffstat (limited to 'snap')
-rw-r--r--snap/snapcraft.yaml11
1 files changed, 1 insertions, 10 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index b6cd0571..486fc9b7 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -162,19 +162,10 @@ parts:
python3 -m venv $SNAPCRAFT_PART_INSTALL
. $SNAPCRAFT_PART_INSTALL/bin/activate
pip install -U pip setuptools wheel
- pip install -U .
+ pip install -U . -vvv
deactivate
sed -i 's|'$SNAPCRAFT_PART_INSTALL'/bin/python3|/usr/bin/env python3|g' $SNAPCRAFT_PART_INSTALL/bin/onionshare
sed -i 's|'$SNAPCRAFT_PART_INSTALL'/bin/python3|/usr/bin/env python3|g' $SNAPCRAFT_PART_INSTALL/bin/onionshare-cli
- # for some reason, snapcraft.io's build system isn't copying onionshare and onionshare_cli folders into install
- if [[ ! -d "$SNAPCRAFT_PART_INSTALL/lib/python3.8/site-packages/onionshare" ]]; then
- ls -l .
- cp -r . $SNAPCRAFT_PART_INSTALL/lib/python3.8/site-packages/onionshare
- fi
- if [[ ! -d "$SNAPCRAFT_PART_INSTALL/lib/python3.8/site-packages/onionshare_cli" ]]; then
- ls -l ../../onionshare-cli/build
- cp -r ../../onionshare-cli/build $SNAPCRAFT_PART_INSTALL/lib/python3.8/site-packages/onionshare_cli
- fi
after: [onionshare-cli]
tor: