aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-03-17 11:20:58 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-03-17 11:20:58 -0700
commit6c59e1682606b47651b21977481e762a3b88f028 (patch)
tree2f4fd4231eafdd47cd45dec0e5c0266ede3c2d9b /src/python/grpcio
parent6a59cf24f37351b0f2235ed6f151508d33838d88 (diff)
parent921f4b0a6e0c77f8c1d0f48b72d7087a21f5e311 (diff)
Merge github.com:grpc/grpc into filter-selection
Diffstat (limited to 'src/python/grpcio')
-rw-r--r--src/python/grpcio/README.rst9
-rw-r--r--src/python/grpcio/grpc_core_dependencies.py1
2 files changed, 6 insertions, 4 deletions
diff --git a/src/python/grpcio/README.rst b/src/python/grpcio/README.rst
index 3dfae50b4b..3f4c6fad02 100644
--- a/src/python/grpcio/README.rst
+++ b/src/python/grpcio/README.rst
@@ -35,13 +35,14 @@ package named :code:`python-dev`).
::
- $ export REPO_ROOT=grpc
+ $ export REPO_ROOT=grpc # REPO_ROOT can be any directory of your choice
$ git clone https://github.com/grpc/grpc.git $REPO_ROOT
$ cd $REPO_ROOT
- $ pip install .
-Note that :code:`$REPO_ROOT` can be assigned to whatever directory name floats
-your fancy.
+ # For the next two commands do `sudo pip install` if you get permission-denied errors
+ $ pip install -rrequirements.txt
+ $ GRPC_PYTHON_BUILD_WITH_CYTHON=1 pip install .
+
Troubleshooting
~~~~~~~~~~~~~~~
diff --git a/src/python/grpcio/grpc_core_dependencies.py b/src/python/grpcio/grpc_core_dependencies.py
index ee375c42eb..b9e7d8c898 100644
--- a/src/python/grpcio/grpc_core_dependencies.py
+++ b/src/python/grpcio/grpc_core_dependencies.py
@@ -34,6 +34,7 @@ CORE_SOURCE_FILES = [
'src/core/profiling/stap_timers.c',
'src/core/support/alloc.c',
'src/core/support/avl.c',
+ 'src/core/support/backoff.c',
'src/core/support/cmdline.c',
'src/core/support/cpu_iphone.c',
'src/core/support/cpu_linux.c',