From 9f401e53c9f8b2334f7006ad692c53a296eb4e75 Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Thu, 8 Jun 2017 11:18:40 +0200 Subject: fix make_grpcio_tools.py --- tools/distrib/python/make_grpcio_tools.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'tools/distrib/python') diff --git a/tools/distrib/python/make_grpcio_tools.py b/tools/distrib/python/make_grpcio_tools.py index e1e077c99e..5bc07ff360 100755 --- a/tools/distrib/python/make_grpcio_tools.py +++ b/tools/distrib/python/make_grpcio_tools.py @@ -14,6 +14,34 @@ # See the License for the specific language governing permissions and # limitations under the License. +from __future__ import print_function + +import errno +import filecmp +import glob +import os +import os.path +import shutil +import subprocess +import sys +import traceback +import uuid + +DEPS_FILE_CONTENT=""" +# Copyright 2016 gRPC authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # AUTO-GENERATED BY make_grpcio_tools.py! CC_FILES={cc_files} PROTO_FILES={proto_files} -- cgit v1.2.3