Skip to content

Commit 90ea48f

Browse files
committed
support finding packages in /usr/local, install to /usr/local by default
Patch: python-3.3.0b1-localpath.patch
1 parent 62793c2 commit 90ea48f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/site.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
import _sitebuiltins
7676

7777
# Prefixes for site-packages; add additional prefixes like /usr/local here
78-
PREFIXES = [sys.prefix, sys.exec_prefix]
78+
PREFIXES = [sys.prefix, sys.exec_prefix, '/usr/local']
7979
# Enable per user site-packages directory
8080
# set it to False to disable the feature or True to force the feature
8181
ENABLE_USER_SITE = None

0 commit comments

Comments
 (0)