Commit d49056cd authored by Jack Jansen's avatar Jack Jansen

The ".pth" code knew about the layout of Python trees on unix and

windows, but not on the mac. Fixed.
parent fd0226b3
......@@ -122,6 +122,8 @@ for prefix in prefixes:
"python" + sys.version[:3],
"site-packages"),
makepath(prefix, "lib", "site-python")]
elif os.sep == ':':
sitedirs = [makepath(prefix, "lib", "site-packages")]
else:
sitedirs = [prefix]
for sitedir in sitedirs:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment