Snapcraft: put all deps in a single requirements.txt

This commit is contained in:
Micah Lee 2022-10-09 12:40:13 -07:00
parent d86b331853
commit e0592ed0d6
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -77,23 +77,6 @@ parts:
override-pull: | override-pull: |
snapcraftctl pull snapcraftctl pull
rm pyproject.toml poetry.lock rm pyproject.toml poetry.lock
cat > requirements.txt << EOF
click
flask==2.0.3
flask-socketio==5.3.1
psutil
pysocks
requests[socks]
unidecode
urllib3
eventlet
setuptools
pynacl
colorama
gevent-websocket
stem==1.8.1
werkzeug==2.0.3
EOF
after: [tor, obfs4, snowflake-client, meek-client] after: [tor, obfs4, snowflake-client, meek-client]
onionshare: onionshare:
@ -178,6 +161,23 @@ parts:
snapcraftctl pull snapcraftctl pull
rm pyproject.toml poetry.lock rm pyproject.toml poetry.lock
cat > requirements.txt << EOF cat > requirements.txt << EOF
# onionshare_cli
click
flask==2.0.3
flask-socketio==5.3.1
psutil
pysocks
requests[socks]
unidecode
urllib3
eventlet
setuptools
pynacl
colorama
gevent-websocket
stem==1.8.1
werkzeug==2.0.3
# onionshare
qrcode qrcode
EOF EOF
override-build: | override-build: |