Snapcraft: Try installing python3-setuptools

This commit is contained in:
Micah Lee 2022-10-02 20:14:12 -07:00
parent 365a7268d2
commit 1062aa4925
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -123,13 +123,11 @@ parts:
- libffi-dev - libffi-dev
- python3-dev - python3-dev
- python3-pip - python3-pip
- python3-setuptools
- cargo - cargo
override-build: | override-build: |
python3 -m pip install poetry python3 -m pip install poetry
python3 -m poetry install python3 -m poetry install
python3 -m poetry run pip install pip --upgrade
python3 -m poetry run pip install setuptools --upgrade
python3 -m poetry run pip install wheel --upgrade
python3 -m poetry build python3 -m poetry build
python3 -m pip install ./dist/onionshare_cli-*.whl --prefix $SNAPCRAFT_PART_INSTALL python3 -m pip install ./dist/onionshare_cli-*.whl --prefix $SNAPCRAFT_PART_INSTALL
after: [tor, obfs4, snowflake-client, meek-client] after: [tor, obfs4, snowflake-client, meek-client]