--- setup.py~	2006-03-22 14:21:21.000000000 +0100
+++ setup.py	2006-03-22 14:40:18.000000000 +0100
@@ -17,6 +17,11 @@
 # This global variable is used to hold the list of modules to be disabled.
 disabled_module_list = []
 
+import os
+sysconfig.get_config_vars()
+sysconfig._config_vars.update (os.environ)
+
+
 def add_dir_to_list(dirlist, dir):
     """Add the directory 'dir' to the list 'dirlist' (at the front) if
     1) 'dir' is not already in 'dirlist'


