Add setup.sh
This commit is contained in:
parent
b21179c5a1
commit
de22503bce
|
@ -1,2 +1,5 @@
|
||||||
|
wheel
|
||||||
|
base58
|
||||||
|
pybase64
|
||||||
duniterpy
|
duniterpy
|
||||||
termcolor
|
termcolor
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
for i in gcc python3-pip python3-setuptools libpq-dev python3-dev; do
|
||||||
|
if [ $(dpkg-query -W -f='${Status}' $i 2>/dev/null | grep -c "ok installed") -eq 0 ];
|
||||||
|
then
|
||||||
|
sudo apt install -y $i
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
pip3 install -r requirements.txt
|
||||||
|
chmod u+x dialog.py
|
Loading…
Reference in New Issue