@@ -17,25 +17,20 @@ file in Python before you can use it to communicate with lnd.
1717    ` ` ` shell
1818    $  source  lnd/bin/activate 
1919    ` ` `  
20- 3. Install dependencies (googleapis-common-protos is required due to the use of
21-   google/api/annotations.proto)
20+ 3. Install dependencies 
2221    ` ` ` shell
23-     lnd $  pip install grpcio  grpcio-tools googleapis-common-protos mypy-protobuf  
22+     lnd $  pip install  grpcio-tools  
2423    ` ` `  
25- 4. Clone the google api' s repository (required due to the use of
26-   google/api/annotations.proto) 
27-     ```shell 
28-     lnd $  git clone https://github.com/googleapis/googleapis.git 
29-     ``` 
30- 5. Copy the lnd lightning.proto file (you'  ll find this at
24+ 
25+ 4. Copy the lnd lightning.proto file (you' ll find this at
3126  [lnrpc/lightning.proto](https://github.com/lightningnetwork/lnd/blob/master/lnrpc/lightning.proto)) 
3227  or just download it 
3328    ```shell 
3429    lnd $  curl -o lightning.proto -s https://raw.githubusercontent.com/lightningnetwork/lnd/master/lnrpc/lightning.proto 
3530    ``` 
36- 6 . Compile the proto file
31+ 5 . Compile the proto file
3732    ```shell 
38-     lnd $  python -m grpc_tools.protoc --proto_path=googleapis:. --mypy_out=.  --python_out=. --grpc_python_out=. lightning.proto 
33+     lnd $  python -m grpc_tools.protoc --proto_path=.   --python_out=. --grpc_python_out=. lightning.proto 
3934    ``` 
4035
4136After following these steps, three files `lightning_pb2.py`, 
@@ -53,7 +48,7 @@ extra steps (after completing all 6 step described above) to get the
5348
5449` ` ` shell
5550lnd $  curl -o router.proto -s https://raw.githubusercontent.com/lightningnetwork/lnd/master/lnrpc/routerrpc/router.proto 
56- lnd $  python -m grpc_tools.protoc --proto_path=googleapis:. --mypy_out=.  --python_out=. --grpc_python_out=. router.proto 
51+ lnd $  python -m grpc_tools.protoc --proto_path=.   --python_out=. --grpc_python_out=. router.proto 
5752` ` ` 
5853
5954# ## Imports and Client
0 commit comments