Commit cd15f6a3 authored by Jack Jansen's avatar Jack Jansen

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

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