2019-09-30 05:13:43 +00:00
|
|
|
#!/usr/bin/bash
|
|
|
|
rm -rf dist
|
|
|
|
mkdir dist
|
|
|
|
mkdir dist/onionr/
|
2019-11-20 10:52:50 +00:00
|
|
|
cp -t dist/onionr/ -r docs static-data install src onionr.sh start-daemon.sh setprofile.sh
|
2019-09-30 05:13:43 +00:00
|
|
|
cp *.md dist/onionr/
|
|
|
|
PIP_USER=false
|
|
|
|
export PIP_USER
|
2020-02-05 00:07:03 +00:00
|
|
|
cd dist
|
|
|
|
tar -czvf onionr-no-deps.tar.gz onionr
|
|
|
|
cd ..
|
2020-02-04 21:42:08 +00:00
|
|
|
pip3 install --require-hashes -r requirements.txt --target=dist/onionr/src/
|
|
|
|
pip3 install --require-hashes -r requirements-notifications.txt --target=dist/onionr/src/
|
2019-09-30 05:13:43 +00:00
|
|
|
cd dist
|
|
|
|
tar -czvf onionr.tar.gz onionr
|