From 60452e1a24b9524a407e85ab835c17e842953048 Mon Sep 17 00:00:00 2001 From: stevenknight Date: Mon, 22 Apr 2002 19:47:34 +0000 Subject: [PATCH] Propogate PYTHONPATH when building SCons. git-svn-id: http://scons.tigris.org/svn/scons/trunk@339 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- SConstruct | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index 57e5c835..dd880451 100644 --- a/SConstruct +++ b/SConstruct @@ -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) -- 2.26.2