File python-3.3.0b1-localpath.patch of Package python3.37444
From fdec5b1407a69293519ad4efe0795964e6c9a1ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= <mcepl@cepl.eu> Date: Wed, 3 Apr 2024 10:38:44 +0200 Subject: [PATCH] support finding packages in /usr/local, install to /usr/local by default Patch: python-3.3.0b1-localpath.patch --- Lib/site.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/site.py b/Lib/site.py index cc4870047bd..22859218137 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -75,7 +75,7 @@ import builtins import _sitebuiltins # 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 -- 2.45.0