mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-26 14:34:00 +00:00
Use 32-bit compatible grpcio for pyblock
This commit is contained in:
parent
70053382e6
commit
48189cef99
|
@ -929,6 +929,11 @@ if should_install_app "pyblock" ; then
|
||||||
sudo -u bitcoin mv pyblock-* pyblock
|
sudo -u bitcoin mv pyblock-* pyblock
|
||||||
cd pyblock
|
cd pyblock
|
||||||
|
|
||||||
|
# Patch deps for old versions
|
||||||
|
if [ $IS_32_BIT = 1 ]; then
|
||||||
|
sed -i "s/^grpcio.*/grpcio==1.40.0/g" requirements.txt
|
||||||
|
fi
|
||||||
|
|
||||||
# Make venv
|
# Make venv
|
||||||
if [ ! -d env ]; then
|
if [ ! -d env ]; then
|
||||||
sudo -u bitcoin python3 -m venv env
|
sudo -u bitcoin python3 -m venv env
|
||||||
|
|
Loading…
Reference in New Issue
Block a user