Skip to content
Snippets Groups Projects
Commit f1cdf59b authored by Masood Malekghassemi's avatar Masood Malekghassemi
Browse files

Patch overlooked strings from Python un-namespacing

parent 7b1b2cc2
No related branches found
No related tags found
No related merge requests found
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
......@@ -49,7 +49,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),
'--proto_path={}'.format(well_known_protos_include),
'--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)]))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment