diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 1edabccf..5dee2abf 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -111,10 +111,6 @@ parts: - libxslt1.1 - libxtst6 - qtwayland5 - override-build: | - python3 setup.py install --prefix $SNAPCRAFT_PART_INSTALL - # fix bug where the shebang is wrong - sed -i 's|#!/snap/gnome-42-2204-sdk/current/usr/bin/python3|#!/usr/bin/env python3|g' $SNAPCRAFT_PART_INSTALL/bin/onionshare after: [onionshare-cli] onionshare-cli: @@ -125,27 +121,21 @@ parts: - libssl-dev - libffi-dev - python3-dev - override-build: | - # setuptools must be installed before stem - python3 -m pip install setuptools --upgrade - python3 -m pip install stem==1.8.1 - # the rest of the dependencies - python3 -m pip install click - python3 -m pip install colorama - python3 -m pip install eventlet - python3 -m pip install flask==2.0.3 - python3 -m pip install flask-socketio==5.3.1 - python3 -m pip install gevent-websocket - python3 -m pip install psutil - python3 -m pip install pynacl - python3 -m pip install pysocks - python3 -m pip install requests[socks] - python3 -m pip install unidecode - python3 -m pip install urllib3 - # build - python3 setup.py install --prefix $SNAPCRAFT_PART_INSTALL - # fix bug where the shebang is wrong - sed -i 's|#!/snap/gnome-42-2204-sdk/current/usr/bin/python3|#!/usr/bin/env python3|g' $SNAPCRAFT_PART_INSTALL/bin/onionshare-cli + python-packages: + - cepa==1.8.4 + - click + - colorama + - eventlet + - flask==2.0.3 + - flask-socketio==5.3.1 + - gevent-websocket + - psutil + - pynacl + - pysocks + - requests[socks] + - setuptools==65.4.1 + - unidecode + - urllib3 after: [tor, obfs4, snowflake-client, meek-client] tor: