aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio/commands.py
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2016-09-16 10:51:15 -0700
committerGravatar Mark D. Roth <roth@google.com>2016-09-16 10:51:15 -0700
commit8b7678cf846cc5b51cd4fc459c7a8d7a2aaebc01 (patch)
tree3c7981a52213e191da0fd31ad3e99149025d4778 /src/python/grpcio/commands.py
parentcf218fb7485644d1138d3b996752da05ae015926 (diff)
parent708d35fd2b54941d1741d3c9e6fc01fea91a30f3 (diff)
Merge remote-tracking branch 'upstream/master' into http_connect
Diffstat (limited to 'src/python/grpcio/commands.py')
-rw-r--r--src/python/grpcio/commands.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/python/grpcio/commands.py b/src/python/grpcio/commands.py
index d36ac23305..ea3b6f3391 100644
--- a/src/python/grpcio/commands.py
+++ b/src/python/grpcio/commands.py
@@ -53,6 +53,7 @@ PYTHON_STEM = os.path.dirname(os.path.abspath(__file__))
GRPC_STEM = os.path.abspath(PYTHON_STEM + '../../../../')
PROTO_STEM = os.path.join(GRPC_STEM, 'src', 'proto')
PROTO_GEN_STEM = os.path.join(GRPC_STEM, 'src', 'python', 'gens')
+CYTHON_STEM = os.path.join(PYTHON_STEM, 'grpc', '_cython')
CONF_PY_ADDENDUM = """
extensions.append('sphinx.ext.napoleon')
@@ -244,7 +245,7 @@ def try_cythonize(extensions, linetracing=False, mandatory=True):
extensions,
include_path=[
include_dir for extension in extensions for include_dir in extension.include_dirs
- ],
+ ] + [CYTHON_STEM],
compiler_directives=cython_compiler_directives
)