diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2018-05-23 22:02:41 +0200 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2018-05-23 22:02:41 +0200 |
commit | dd009359e3afb822f28c0a294db4ebf013ab8fe7 (patch) | |
tree | b266b78d4e74bb8193b6b27bd1a8be6f3b98825d /tools/distrib/python | |
parent | 40494bbe89369161fb31a7b7639b16e797e077fb (diff) |
add some transparency to make_grpcio_tools.py
Diffstat (limited to 'tools/distrib/python')
-rwxr-xr-x | tools/distrib/python/make_grpcio_tools.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/distrib/python/make_grpcio_tools.py b/tools/distrib/python/make_grpcio_tools.py index 4847233217..a6fdae28d7 100755 --- a/tools/distrib/python/make_grpcio_tools.py +++ b/tools/distrib/python/make_grpcio_tools.py @@ -98,6 +98,7 @@ def protobuf_submodule_commit_hash(): def bazel_query(query): + print('Running "bazel query %s"' % query) output = subprocess.check_output([BAZEL_DEPS, query]) return output.splitlines() @@ -156,6 +157,7 @@ def main(): shutil.copyfile(source_file, target_file) try: + print('Invoking "bazel query" to gather the protobuf dependencies.') protoc_lib_deps_content = get_deps() except Exception as error: # We allow this script to succeed even if we couldn't get the dependencies, @@ -167,6 +169,8 @@ def main(): # If we successfully got the dependencies, truncate and rewrite the deps file. with open(GRPC_PYTHON_PROTOC_LIB_DEPS, 'w') as deps_file: deps_file.write(protoc_lib_deps_content) + print('File "%s" updated.' % GRPC_PYTHON_PROTOC_LIB_DEPS) + print('Done.') if __name__ == '__main__': |