mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Patch #734231: Update RiscOS support. In particular, correct
riscospath.extsep, and use os.extsep throughout.
This commit is contained in:
parent
5467d4c0e3
commit
a94568a753
27 changed files with 482 additions and 59 deletions
|
@ -162,7 +162,7 @@ if sys.exec_prefix != sys.prefix:
|
|||
prefixes.append(sys.exec_prefix)
|
||||
for prefix in prefixes:
|
||||
if prefix:
|
||||
if sys.platform == 'os2emx':
|
||||
if sys.platform in ('os2emx', 'riscos'):
|
||||
sitedirs = [os.path.join(prefix, "Lib", "site-packages")]
|
||||
elif os.sep == '/':
|
||||
sitedirs = [os.path.join(prefix,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue