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

windows, but not on the mac. Fixed.
This commit is contained in:
Jack Jansen 2000-12-12 22:39:04 +00:00
parent fd0226b327
commit d49056cd90

View file

@ -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: