python/python-2.6b1-localpath.patch

12 lines
385 B
Diff

--- Lib/site.py
+++ Lib/site.py
@@ -63,7 +63,7 @@
import __builtin__
# Prefixes for site-packages; add additional prefixes like /usr/local here
-PREFIXES = [sys.prefix, sys.exec_prefix]
+PREFIXES = [sys.prefix, sys.exec_prefix, '/usr/local']
# Enable per user site-packages directory
# set it to False to disable the feature or True to force the feature
ENABLE_USER_SITE = None