b7580a
--- Python-2.7.5/Lib/site.py.orig	2013-05-16 12:47:55.000000000 +0200
b7580a
+++ Python-2.7.5/Lib/site.py	2013-05-16 12:56:20.089058109 +0200
b7580a
@@ -529,6 +529,10 @@ def main():
b7580a
 
b7580a
     abs__file__()
b7580a
     known_paths = removeduppaths()
b7580a
+    from sysconfig import is_python_build
b7580a
+    if is_python_build():
b7580a
+        from _sysconfigdata import build_time_vars
b7580a
+        sys.path.append(os.path.join(build_time_vars['abs_builddir'], 'Modules'))
b7580a
     if ENABLE_USER_SITE is None:
b7580a
         ENABLE_USER_SITE = check_enableusersite()
b7580a
     known_paths = addusersitepackages(known_paths)