tREADME: rm "Compile the protobuf description file" section - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 7e3d50a64190749770012cf2947ed6703762bd6d DIR parent 7f8d667e851c0f066fcdc13acbdf5caa1001333f HTML Author: SomberNight <somber.night@protonmail.com> Date: Fri, 21 Feb 2020 18:50:52 +0100 README: rm "Compile the protobuf description file" section The generated file "paymentrequest_pb2.py" is already committed into the repository, so users don't need to run this command. Further, the command itself is preserved in "paymentrequest.py" (it gets printed if we cannot find the generated file). Diffstat: M README.rst | 5 ----- M electrum/paymentrequest.py | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) --- DIR diff --git a/README.rst b/README.rst t@@ -82,11 +82,6 @@ Run install (this should install dependencies):: python3 -m pip install --user . -Compile the protobuf description file:: - - sudo apt-get install protobuf-compiler - protoc --proto_path=electrum --python_out=electrum electrum/paymentrequest.proto - Create translations (optional):: sudo apt-get install python-requests gettext DIR diff --git a/electrum/paymentrequest.py b/electrum/paymentrequest.py t@@ -36,6 +36,7 @@ import aiohttp try: from . import paymentrequest_pb2 as pb2 except ImportError: + # sudo apt-get install protobuf-compiler sys.exit("Error: could not find paymentrequest_pb2.py. Create it with 'protoc --proto_path=electrum/ --python_out=electrum/ electrum/paymentrequest.proto'") from . import bitcoin, ecc, util, transaction, x509, rsakey