Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win64
mingw64-python3
python-3.9.10-add-site-packages-path.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-3.9.10-add-site-packages-path.patch of Package mingw64-python3
--- a/Python-3.9.10/Lib/site.py 2023-02-08 14:08:07.619513072 +0100 +++ b/Python-3.9.10/Lib/site.py 2023-02-08 14:24:38.864390404 +0100 @@ -338,18 +338,11 @@ if sys.platlibdir != "lib": libdirs.append("lib") - if os.sep == '/': - for libdir in libdirs: - path = os.path.join(prefix, libdir, - "python%d.%d" % sys.version_info[:2], - "site-packages") - sitepackages.append(path) - else: - sitepackages.append(prefix) - - for libdir in libdirs: - path = os.path.join(prefix, libdir, "site-packages") - sitepackages.append(path) + for libdir in libdirs: + path = os.path.join(prefix, libdir, + "python%d.%d" % sys.version_info[:2], + "site-packages") + sitepackages.append(path) return sitepackages def addsitepackages(known_paths, prefixes=None):
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