Actually commit changes to tools/distrib/python/grpcio_tools/setup.py

pull/7508/head
murgatroid99 8 years ago
parent 316f73f6c1
commit 2b7fe5a6c0
  1. 14
      tools/distrib/python/grpcio_tools/setup.py

@ -138,7 +138,6 @@ def package_data():
proto_files.append(relative_target)
return {GRPC_PYTHON_TOOLS_PACKAGE: proto_files}
<<<<<<< HEAD
def extension_modules():
if BUILD_WITH_CYTHON:
plugin_sources = ['grpc/tools/_protoc_compiler.pyx']
@ -152,19 +151,6 @@ def extension_modules():
plugin_ext = extension.Extension(
name='grpc.tools._protoc_compiler',
sources=plugin_sources,
=======
def protoc_ext_module():
plugin_sources = [
os.path.join('grpc', 'tools', 'main.cc'),
os.path.join('grpc_root', 'src', 'compiler', 'python_generator.cc')] + [
os.path.join(CC_INCLUDE, cc_file)
for cc_file in CC_FILES]
plugin_ext = extension.Extension(
name='grpc.tools._protoc_compiler',
sources=(
[os.path.join('grpc', 'tools', '_protoc_compiler.pyx')] +
plugin_sources),
>>>>>>> upstream/v1.0.x
include_dirs=[
'.',
'grpc_root',

Loading…
Cancel
Save