py3.12 init

This commit is contained in:
aliriza committed 2024-06-28 16:13:04 +03:00
1 parent 7877cd146c
commit 9959052ee9
3 files changed
+107

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
*** a/Lib/site.py Tue Feb 7 13:15:11 2023
--- b/Lib/site.py Tue Feb 7 13:15:45 2023
*************** def getsitepackages(prefixes=None):
*** 366,371 ****
--- 366,374 ----
if sys.platlibdir != "lib":
libdirs.append("lib")
+ sitepackages.insert(0, os.path.join(prefix, "share", "python3"))
+ sitepackages.insert(0, os.path.join(prefix, "lib", "python3"))
+
for libdir in libdirs:
path = os.path.join(prefix, libdir,
"python%d.%d" % sys.version_info[:2],