OS/2 EMX port Library and regression test changes:
Lib/
os.py
os2emxpath.py // added - OS/2 EMX specific path manipulation routines
popen2.py
site.py
Lib/test/
test_fcntl.py
test_longexp.py
diff --git a/Lib/site.py b/Lib/site.py
index c25f211..fee13f8 100644
--- a/Lib/site.py
+++ b/Lib/site.py
@@ -164,7 +164,9 @@
prefixes.append(sys.exec_prefix)
for prefix in prefixes:
if prefix:
- if os.sep == '/':
+ if sys.platform == 'os2emx':
+ sitedirs = [os.path.join(prefix, "Lib", "site-packages")]
+ elif os.sep == '/':
sitedirs = [os.path.join(prefix,
"lib",
"python" + sys.version[:3],