blob: be2f2bedf9cae7e4599d1559e926042026c512b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
GRPC Python
=========
The Python facility of GRPC.
Prerequisites
-----------------------
Python 2.7, virtualenv, pip, libprotobuf-dev, and libprotoc-dev.
Building from source
----------------------
- Build the GRPC core
E.g, from the root of the grpc [git repo](https://github.com/google/grpc)
```
$ make shared_c static_c
```
- Use build_python.sh to build the Python code and install it into a virtual environment
```
$ tools/run_tests/build_python.sh
```
Testing
-----------------------
- Use run_python.sh to run GRPC as it was installed into the virtual environment
```
$ tools/run_tests/run_python.sh
```
|