[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:
Ray Speth 2013-08-02 23:17:42 +00:00
parent 957ddc97ae
commit 988f300e6b

View file

@ -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