From 18b3ccb2f21ebb79d5045943f09660c1c623a18c Mon Sep 17 00:00:00 2001 From: Masood Malekghassemi Date: Wed, 26 Aug 2015 12:08:16 -0700 Subject: [PATCH] Temporary fix on Python doc to alleviate confusion cc grpc/grpc-common#274, #2896 --- src/python/README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/python/README.md b/src/python/README.md index de0142db05e..affce648843 100644 --- a/src/python/README.md +++ b/src/python/README.md @@ -52,9 +52,19 @@ BUILDING FROM SOURCE --------------------- - Clone this repository +- Initialize the git submodules +``` +$ git submodule update --init +``` + +- Make the libraries +``` +$ make +``` + - Use build_python.sh to build the Python code and install it into a virtual environment ``` -$ tools/run_tests/build_python.sh +$ CONFIG=opt tools/run_tests/build_python.sh 2.7 ``` TESTING @@ -62,7 +72,7 @@ TESTING - Use run_python.sh to run gRPC as it was installed into the virtual environment ``` -$ tools/run_tests/run_python.sh +$ CONFIG=opt PYVER=2.7 tools/run_tests/run_python.sh ``` PACKAGING