lcio: install more missing files for python bindings (#29739)

This commit is contained in:
Thomas Madlener 2022-04-22 04:30:28 +02:00 committed by GitHub
parent c60ded8ccc
commit 5fe4ac2b05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,7 +99,15 @@ def setup_run_environment(self, env):
def install_source(self):
# these files are needed for the python bindings and root to
# find the headers
if self.spec.version > Version('2.17'):
# This has been fixed upstream
return
install_tree('src/cpp/include/pre-generated/',
self.prefix.include + '/pre-generated')
install('src/cpp/include/IOIMPL/LCEventLazyImpl.h',
self.prefix.include + '/IOIMPL/')
install('src/cpp/include/SIO/SIOHandlerMgr.h',
self.prefix.include + '/SIO/')
install('src/cpp/include/SIO/SIOObjectHandler.h',
self.prefix.include + '/SIO/')