[LCIO]: changes to install/CPATH for python bindings (#18512)
This commit is contained in:
parent
b2b7bcd86a
commit
138e2ad0a1
1 changed files with 11 additions and 0 deletions
|
@ -76,3 +76,14 @@ def url_for_version(self, version):
|
|||
def setup_run_environment(self, env):
|
||||
env.set('LCIO', self.prefix)
|
||||
env.prepend_path('PYTHONPATH', self.prefix.python)
|
||||
# needed for the python bindings to find "Exceptions.h"
|
||||
env.prepend_path('CPATH', self.prefix)
|
||||
|
||||
@run_after('install')
|
||||
def install_source(self):
|
||||
# these files are needed for the python bindings and root to
|
||||
# find the headers
|
||||
install_tree('src/cpp/include/pre-generated/',
|
||||
self.prefix.include + '/pre-generated')
|
||||
install('src/cpp/include/IOIMPL/LCEventLazyImpl.h',
|
||||
self.prefix.include + '/IOIMPL/')
|
||||
|
|
Loading…
Reference in a new issue