Patch overlooked strings from Python un-namespacing

pull/9094/head
Masood Malekghassemi 8 years ago
parent d0e336ab58
commit 94b82355cb
  1. 2
      src/python/grpcio_health_checking/MANIFEST.in
  2. 2
      tools/distrib/python/grpcio_tools/MANIFEST.in
  3. 2
      tools/distrib/python/grpcio_tools/grpc_tools/command.py
  4. 2
      tools/distrib/python/grpcio_tools/grpc_tools/protoc.py

@ -1,4 +1,4 @@
include grpc_version.py
include health_commands.py
graft grpc
graft grpc_health
global-exclude *.pyc

@ -2,6 +2,6 @@ include grpc_version.py
include protoc_deps.py
include protoc_lib_deps.py
include README.rst
graft grpc
graft grpc_tools
graft grpc_root
graft third_party

@ -45,7 +45,7 @@ def build_package_protos(package_root):
for proto_file in proto_files:
command = [
'grpc.tools.protoc',
'grpc_tools.protoc',
'--proto_path={}'.format(inclusion_root),
'--python_out={}'.format(inclusion_root),
'--grpc_python_out={}'.format(inclusion_root),

@ -45,5 +45,5 @@ def main(command_arguments):
return _protoc_compiler.run_main(command_arguments)
if __name__ == '__main__':
proto_include = pkg_resources.resource_filename('grpc.tools', '_proto')
proto_include = pkg_resources.resource_filename('grpc_tools', '_proto')
sys.exit(main(sys.argv + ['-I{}'.format(proto_include)]))

Loading…
Cancel
Save