From 79d8779069a154a74786c28bf9d8af3d0cbd9905 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Mon, 15 Apr 2019 09:54:52 -0700 Subject: [PATCH] Fix setup.py to also include *.inc files for protobuf Fixes #27697 PiperOrigin-RevId: 243634475 --- tensorflow/tools/pip_package/setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tensorflow/tools/pip_package/setup.py b/tensorflow/tools/pip_package/setup.py index e6751d70954..cedf1491904 100644 --- a/tensorflow/tools/pip_package/setup.py +++ b/tensorflow/tools/pip_package/setup.py @@ -238,7 +238,8 @@ else: headers = ( list(find_files('*.h', 'tensorflow/core')) + list( find_files('*.h', 'tensorflow/stream_executor')) + - list(find_files('*.h', 'google/protobuf_archive/src')) + list( + list(find_files('*.h', 'google/protobuf_archive/src')) + + list(find_files('*.inc', 'google/protobuf_archive/src')) + list( find_files('*', 'third_party/eigen3')) + list( find_files('*.h', 'tensorflow/include/external/com_google_absl')) + list(find_files('*.inc', 'tensorflow/include/external/com_google_absl')) +