Lines Matching +full:python +full:- +full:version
8 # type: () -> bool
9 """ checks if grpcio-tools protoc is installed"""
42 # Stand-alone script
53 # type: (list) -> typing.Any
57 This routine will use grpcio-provided protoc if it exists,
58 using system-installed protoc as a fallback.
65 if not [x for x in argv if x.startswith('-I')]:
66 argv.append("-I.")
70 argv.append('-I' + incpath)
82 sys.stderr.write("Using grpcio-tools protoc from " + grpc_tools.protoc.__file__ + "\n")
86 invoke_protoc(['protoc', '--version'])
88 sys.stderr.write("Failed to determine protoc version: " + str(e) + "\n")
97 sys.stderr.write("Python version " + sys.version + "\n")
98 sys.stderr.write("Using python-protobuf from " + google.protobuf.__file__ + "\n")
99 sys.stderr.write("Python-protobuf version: " + google.protobuf.__version__ + "\n")
101 sys.stderr.write("Failed to determine python-protobuf version: " + str(e) + "\n")