diff options
author | Steven Knight <knight@baldmt.com> | 2002-04-22 19:47:34 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-04-22 19:47:34 (GMT) |
commit | 7a20266245e3cccfbec62c01ee62c037ec13d162 (patch) | |
tree | 09bea30e8477a3ccb406b926e1c4a0cc287d2132 /SConstruct | |
parent | 74f98d3083cfbb859bf032dba37ed14bbb5219dd (diff) | |
download | SCons-7a20266245e3cccfbec62c01ee62c037ec13d162.zip SCons-7a20266245e3cccfbec62c01ee62c037ec13d162.tar.gz SCons-7a20266245e3cccfbec62c01ee62c037ec13d162.tar.bz2 |
Propogate PYTHONPATH when building SCons.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -140,8 +140,9 @@ python_ver = sys.version[0:3] platform = distutils.util.get_platform() ENV = { 'PATH' : os.environ['PATH'] } -if os.environ.has_key('AEGIS_PROJECT'): - ENV['AEGIS_PROJECT'] = os.environ['AEGIS_PROJECT'] +for key in ['AEGIS_PROJECT', 'PYTHONPATH']: + if os.environ.has_key(key): + ENV[key] = os.environ[key] lib_project = os.path.join("lib", project) |