You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
567 B
13 lines
567 B
--- Python-2.7.5/Lib/site.py.orig 2013-05-16 12:47:55.000000000 +0200 |
|
+++ Python-2.7.5/Lib/site.py 2013-05-16 12:56:20.089058109 +0200 |
|
@@ -529,6 +529,10 @@ def main(): |
|
|
|
abs__file__() |
|
known_paths = removeduppaths() |
|
+ from sysconfig import is_python_build |
|
+ if is_python_build(): |
|
+ from _sysconfigdata import build_time_vars |
|
+ sys.path.append(os.path.join(build_time_vars['abs_builddir'], 'Modules')) |
|
if ENABLE_USER_SITE is None: |
|
ENABLE_USER_SITE = check_enableusersite() |
|
known_paths = addusersitepackages(known_paths)
|
|
|