Ensure the latest setuptools is installed in snapcraft

This commit is contained in:
Micah Lee 2022-10-02 17:30:13 -07:00
parent 125d03891f
commit 703ba01032
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -126,7 +126,9 @@ parts:
- cargo - cargo
override-build: | override-build: |
python3 -m pip install poetry python3 -m pip install poetry
python3 -m pip install setuptools --upgrade
poetry install poetry install
poetry run pip install setuptools --upgrade
poetry build 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]