Skip to content

Commit

Permalink
Put PYTHONPATH from build env into init_ilcsoft.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Jun 29, 2022
1 parent 50072b8 commit 1a7eae5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ilcsoft/ilcsoft.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,10 @@ def makeinstall(self):
# export Python in PATH and LD_LIBRARY_PATH
f.write( 'export PATH='+py_path+'/bin:${PATH}' + os.linesep )
f.write( 'export LD_LIBRARY_PATH='+py_path+'/lib:${LD_LIBRARY_PATH}' + os.linesep + os.linesep )
# copy the PYTHONPATH verbatim from the build setup if it is set
python_path = os.getenv('PYTHONPATH')
if python_path:
f.write('export PYTHONPATH=' + python_path + os.linesep + os.linesep )

f.write( 'export CXX=' + compiler + os.linesep )
ccompiler = self.env["CC"]
Expand Down

0 comments on commit 1a7eae5

Please sign in to comment.