aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-03-30 16:49:44 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-03-30 16:49:44 -0700
commit7503bd28e89cd676cbfcfeb3138d796029876e64 (patch)
tree624a8d9cc862d9e1f278c46093956200e191ceed /src/python/grpcio
parent5a4e500e34a694acdd00e7cc553f2d6e26203a21 (diff)
parent90da73714eac582686736c48d113bdfc75b15169 (diff)
Merge github.com:grpc/grpc into split-me-baby-one-more-time
Diffstat (limited to 'src/python/grpcio')
-rw-r--r--src/python/grpcio/precompiled.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/python/grpcio/precompiled.py b/src/python/grpcio/precompiled.py
index d34250b02c..aeeb2754ea 100644
--- a/src/python/grpcio/precompiled.py
+++ b/src/python/grpcio/precompiled.py
@@ -91,6 +91,9 @@ class BuildTaggedExt(setuptools.Command):
def update_setup_arguments(setup_arguments):
+ if not USE_PRECOMPILED_BINARIES:
+ sys.stderr.write('not using precompiled extension')
+ return
url = '{}/{}.so'.format(BINARIES_REPOSITORY, _tagged_ext_name('cygrpc'))
target_path = os.path.join(PYTHON_STEM, 'grpc/_cython/cygrpc.so')
try: