aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python
diff options
context:
space:
mode:
authorGravatar Jayant Kolhe <jkolhe@google.com>2015-02-19 11:39:52 -0800
committerGravatar Jayant Kolhe <jkolhe@google.com>2015-02-19 11:39:52 -0800
commit6ef57ba3bf41b597157a8798240fedd845260d98 (patch)
tree186878bca5befad3c26ec486910ffaeeeb8490d6 /src/python
parent980a630e7f5c7694e7a6483d77ee82bc6766c3ab (diff)
parent9b98bd89af3e715e98f7111b9a389ecc92dbb20c (diff)
Merge pull request #589 from nathanielmanistaatgoogle/src-python-readme
Add a src/python/README.md.
Diffstat (limited to 'src/python')
-rwxr-xr-xsrc/python/README.md34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/python/README.md b/src/python/README.md
new file mode 100755
index 0000000000..be2f2bedf9
--- /dev/null
+++ b/src/python/README.md
@@ -0,0 +1,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
+```