|
@ -1,11 +1,12 @@ |
|
|
#!/bin/bash |
|
|
#!/bin/bash |
|
|
|
|
|
|
|
|
contrib=$(dirname "$0") |
|
|
contrib=$(dirname "$0") |
|
|
|
|
|
test -n "$contrib" -a -d "$contrib" || exit |
|
|
|
|
|
|
|
|
whereis pip3 |
|
|
whereis pip3 |
|
|
if [ $? -ne 0 ] ; then echo "Install pip3" ; exit ; fi |
|
|
if [ $? -ne 0 ] ; then echo "Install pip3" ; exit ; fi |
|
|
|
|
|
|
|
|
rm $contrib/../packages/ -r |
|
|
rm "$contrib"/../packages/ -r |
|
|
|
|
|
|
|
|
#Install pure python modules in electrum directory |
|
|
#Install pure python modules in electrum directory |
|
|
pip3 install -r $contrib/requirements.txt -t $contrib/../packages |
|
|
pip3 install -r $contrib/requirements.txt -t $contrib/../packages |
|
|