mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Change to use .local/lib/rustpython
This commit is contained in:
1 file changed
+2
-1
+2
-1
@@ -335,7 +335,8 @@ def getsitepackages(prefixes=None):
|
||||
|
||||
if os.sep == '/':
|
||||
sitepackages.append(os.path.join(prefix, "lib",
|
||||
"python%d.%d" % sys.version_info[:2],
|
||||
# XXX changed for RustPython
|
||||
"rustpython%d.%d" % sys.version_info[:2],
|
||||
"site-packages"))
|
||||
else:
|
||||
sitepackages.append(prefix)
|
||||
|
||||
Reference in new issue
Block a user