Skip to content
Snippets Groups Projects
Commit 2b7fe5a6 authored by murgatroid99's avatar murgatroid99
Browse files

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

parent 316f73f6
No related branches found
No related tags found
No related merge requests found
...@@ -138,7 +138,6 @@ def package_data(): ...@@ -138,7 +138,6 @@ def package_data():
proto_files.append(relative_target) proto_files.append(relative_target)
return {GRPC_PYTHON_TOOLS_PACKAGE: proto_files} return {GRPC_PYTHON_TOOLS_PACKAGE: proto_files}
<<<<<<< HEAD
def extension_modules(): def extension_modules():
if BUILD_WITH_CYTHON: if BUILD_WITH_CYTHON:
plugin_sources = ['grpc/tools/_protoc_compiler.pyx'] plugin_sources = ['grpc/tools/_protoc_compiler.pyx']
...@@ -152,19 +151,6 @@ def extension_modules(): ...@@ -152,19 +151,6 @@ def extension_modules():
plugin_ext = extension.Extension( plugin_ext = extension.Extension(
name='grpc.tools._protoc_compiler', name='grpc.tools._protoc_compiler',
sources=plugin_sources, 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=[ include_dirs=[
'.', '.',
'grpc_root', 'grpc_root',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment