mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 14:45:12 +00:00
Fix setuptools record of headers
This commit is contained in:
parent
ab323e04f3
commit
e107fc2a05
7
setup.py
7
setup.py
@ -67,6 +67,13 @@ class BuildPy(build_py):
|
||||
self.mkpath(os.path.dirname(target))
|
||||
self.copy_file(header, target, preserve_mode=False)
|
||||
|
||||
def get_outputs(self, include_bytecode=1):
|
||||
outputs = build_py.get_outputs(self, include_bytecode=include_bytecode)
|
||||
for header in package_data:
|
||||
target = os.path.join(self.build_lib, 'pybind11', header)
|
||||
outputs.append(target)
|
||||
return outputs
|
||||
|
||||
|
||||
setup(
|
||||
name='pybind11',
|
||||
|
Loading…
Reference in New Issue
Block a user