Skip to content
Snippets Groups Projects
Commit 71f4f205 authored by Masood Malekghassemi's avatar Masood Malekghassemi Committed by GitHub
Browse files

Merge pull request #9094 from...

Merge pull request #9094 from soltanmm-google/praytell-babbage-if-you-do-the-wrong-thing-will-it-still-do-the-right-thing

Patch overlooked strings from Python un-namespacing
parents d0e336ab 9fb054a5
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ settings: ...@@ -7,7 +7,7 @@ settings:
'#3': Use "-preN" suffixes to identify pre-release versions '#3': Use "-preN" suffixes to identify pre-release versions
'#4': Per-language overrides are possible with (eg) ruby_version tag here '#4': Per-language overrides are possible with (eg) ruby_version tag here
'#5': See the expand_version.py for all the quirks here '#5': See the expand_version.py for all the quirks here
python_version: 1.0.3 python_version: 1.0.4
version: 1.0.1 version: 1.0.1
filegroups: filegroups:
- name: census - name: census
......
...@@ -29,4 +29,4 @@ ...@@ -29,4 +29,4 @@
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio/grpc_version.py.template`!!! # AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio/grpc_version.py.template`!!!
VERSION='1.0.3' VERSION='1.0.4'
include grpc_version.py include grpc_version.py
include health_commands.py include health_commands.py
graft grpc graft grpc_health
global-exclude *.pyc global-exclude *.pyc
...@@ -29,4 +29,4 @@ ...@@ -29,4 +29,4 @@
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_health_checking/grpc_version.py.template`!!! # AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_health_checking/grpc_version.py.template`!!!
VERSION='1.0.3' VERSION='1.0.4'
...@@ -29,4 +29,4 @@ ...@@ -29,4 +29,4 @@
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_tests/grpc_version.py.template`!!! # AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_tests/grpc_version.py.template`!!!
VERSION='1.0.3' VERSION='1.0.4'
...@@ -2,6 +2,6 @@ include grpc_version.py ...@@ -2,6 +2,6 @@ include grpc_version.py
include protoc_deps.py include protoc_deps.py
include protoc_lib_deps.py include protoc_lib_deps.py
include README.rst include README.rst
graft grpc graft grpc_tools
graft grpc_root graft grpc_root
graft third_party graft third_party
...@@ -45,7 +45,7 @@ def build_package_protos(package_root): ...@@ -45,7 +45,7 @@ def build_package_protos(package_root):
for proto_file in proto_files: for proto_file in proto_files:
command = [ command = [
'grpc.tools.protoc', 'grpc_tools.protoc',
'--proto_path={}'.format(inclusion_root), '--proto_path={}'.format(inclusion_root),
'--python_out={}'.format(inclusion_root), '--python_out={}'.format(inclusion_root),
'--grpc_python_out={}'.format(inclusion_root), '--grpc_python_out={}'.format(inclusion_root),
......
...@@ -45,5 +45,5 @@ def main(command_arguments): ...@@ -45,5 +45,5 @@ def main(command_arguments):
return _protoc_compiler.run_main(command_arguments) return _protoc_compiler.run_main(command_arguments)
if __name__ == '__main__': 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)])) sys.exit(main(sys.argv + ['-I{}'.format(proto_include)]))
...@@ -29,4 +29,4 @@ ...@@ -29,4 +29,4 @@
# AUTO-GENERATED FROM `$REPO_ROOT/templates/tools/distrib/python/grpcio_tools/grpc_version.py.template`!!! # AUTO-GENERATED FROM `$REPO_ROOT/templates/tools/distrib/python/grpcio_tools/grpc_version.py.template`!!!
VERSION='1.0.3' VERSION='1.0.4'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment