Fixed environment variables used for compiling the Python extension

This commit is contained in:
Ray Speth 2012-01-26 18:31:47 +00:00
parent 1cdec7a851
commit 3625c733ea

View file

@ -17,7 +17,7 @@ if localenv['OS'] == 'Windows':
for var in ('VS80COMNTOOLS', 'VS90COMNTOOLS', 'VS100COMNTOOLS'):
if var in os.environ:
localenv[var] = os.environ[var]
localenv['ENV'][var] = os.environ[var]
make_setup = localenv.SubstFile('setup.py', 'setup.py.in')