Blame SOURCES/00121-add-Modules-to-build-path.patch

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