An interpreted, interactive, object-oriented programming language
CentOS Sources
2017-08-01 71084d584ff953f5463757ec6536406320560b4d
commit | author | age
6e8c2f 1 --- Python-2.7.5/Lib/site.py.orig    2013-05-16 12:47:55.000000000 +0200
CB 2 +++ Python-2.7.5/Lib/site.py    2013-05-16 12:56:20.089058109 +0200
3 @@ -529,6 +529,10 @@ def main():
4  
5      abs__file__()
6      known_paths = removeduppaths()
7 +    from sysconfig import is_python_build
8 +    if is_python_build():
9 +        from _sysconfigdata import build_time_vars
10 +        sys.path.append(os.path.join(build_time_vars['abs_builddir'], 'Modules'))
11      if ENABLE_USER_SITE is None:
12          ENABLE_USER_SITE = check_enableusersite()
13      known_paths = addusersitepackages(known_paths)