Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-15:Update
python3.35805
python-3.3.0b1-localpath.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-3.3.0b1-localpath.patch of Package python3.35805
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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor