aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio/precompiled.py
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-03-31 07:49:58 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-03-31 07:49:58 -0700
commit64a12c55dfe4bdbdb65b2c508a06f4335f100a98 (patch)
tree27210a0df4e73a44487d89dc012502fa5d992ee4 /src/python/grpcio/precompiled.py
parent6169d5f7b002a68daa3eda36798cec34de11d57f (diff)
parent6fa2ce56f3600b044d9e27897823de736e948a73 (diff)
Merge github.com:grpc/grpc into copyright-fix
Diffstat (limited to 'src/python/grpcio/precompiled.py')
-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 3cf0ded1e9..b6aa7fc90e 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: