Install pip dependencies in order

This commit is contained in:
Micah Lee 2022-10-05 15:51:51 -07:00
parent 6bf82b9b21
commit df914ed18c
No known key found for this signature in database
GPG key ID: 403C2657CD994F73

View file

@ -121,21 +121,25 @@ parts:
- libssl-dev - libssl-dev
- libffi-dev - libffi-dev
- python3-dev - python3-dev
python-packages: override-build: |
- click # setuptools must be installed before stem
- colorama python3 -m pip install setuptools --upgrade
- eventlet python3 -m pip install stem==1.8.1
- flask==2.0.3 # the rest of the dependencies
- flask-socketio==5.3.1 python3 -m pip install click
- gevent-websocket python3 -m pip install colorama
- psutil python3 -m pip install eventlet
- pynacl python3 -m pip install flask==2.0.3
- pysocks python3 -m pip install flask-socketio==5.3.1
- requests[socks] python3 -m pip install gevent-websocket
- setuptools==65.4.1 python3 -m pip install psutil
- stem==1.8.1 python3 -m pip install pynacl
- unidecode python3 -m pip install pysocks
- urllib3 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
after: [tor, obfs4, snowflake-client, meek-client] after: [tor, obfs4, snowflake-client, meek-client]
tor: tor: