Skip to content

Commit e107fc2

Browse files
isurufwjakob
authored andcommitted
Fix setuptools record of headers
1 parent ab323e0 commit e107fc2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

setup.py

+7
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ def build_package_data(self):
6767
self.mkpath(os.path.dirname(target))
6868
self.copy_file(header, target, preserve_mode=False)
6969

70+
def get_outputs(self, include_bytecode=1):
71+
outputs = build_py.get_outputs(self, include_bytecode=include_bytecode)
72+
for header in package_data:
73+
target = os.path.join(self.build_lib, 'pybind11', header)
74+
outputs.append(target)
75+
return outputs
76+
7077

7178
setup(
7279
name='pybind11',

0 commit comments

Comments
 (0)