[SCons] Add PYTHONPATH to list of default environment variables
Simplifies compilation when Python packages needed for compilation (e.g. Cython) are not installed in system-wide locations.
This commit is contained in:
parent
957ddc97ae
commit
988f300e6b
1 changed files with 1 additions and 1 deletions
|
|
@ -250,7 +250,7 @@ else:
|
|||
defaults.threadFlags = '-pthread'
|
||||
|
||||
defaults.fsLayout = 'compact' if env['OS'] == 'Windows' else 'standard'
|
||||
defaults.env_vars = 'LD_LIBRARY_PATH' if 'LD_LIBRARY_PATH' in os.environ else ''
|
||||
defaults.env_vars = 'LD_LIBRARY_PATH,PYTHONPATH'
|
||||
defaults.python_prefix = '$prefix' if env['OS'] != 'Windows' else ''
|
||||
|
||||
# Transform lists into strings to keep cantera.conf clean
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue