You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
363 B
13 lines
363 B
#!/bin/bash
|
|
# Generates the file paymentrequest_pb2.py
|
|
|
|
CONTRIB="$(dirname "$(readlink -e "$0")")"
|
|
EL="$CONTRIB"/../electrum
|
|
|
|
if ! which protoc > /dev/null 2>&1; then
|
|
echo "Please install 'protoc'"
|
|
echo "If you're on Debian, try 'sudo apt install protobuf-compiler'?"
|
|
exit 1
|
|
fi
|
|
|
|
protoc --proto_path="$EL" --python_out="$EL" "$EL"/paymentrequest.proto
|
|
|