On the mac some library paths returned were outdated, some were outright funny.

Fixed.
This commit is contained in:
Jack Jansen 2001-09-04 12:01:49 +00:00
parent 4ca5f38f46
commit 212a2e1f9f
1 changed files with 3 additions and 5 deletions

View File

@ -102,16 +102,14 @@ def get_python_lib(plat_specific=0, standard_lib=0, prefix=None):
elif os.name == "mac":
if plat_specific:
if standard_lib:
return os.path.join(prefix, "Mac", "Plugins")
return os.path.join(prefix, "Lib", "lib-dynload")
else:
raise DistutilsPlatformError(
"OK, where DO site-specific extensions go on the Mac?")
return os.path.join(prefix, "Lib", "site-packages")
else:
if standard_lib:
return os.path.join(prefix, "Lib")
else:
raise DistutilsPlatformError(
"OK, where DO site-specific modules go on the Mac?")
return os.path.join(prefix, "Lib", "site-packages")
else:
raise DistutilsPlatformError(
"I don't know where Python installs its library "