summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-09-04 12:01:49 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-09-04 12:01:49 (GMT)
commit212a2e1f9f9a49a796c85493fb079a5ade010a3d (patch)
treead858ad972b9b3ecf7d45f7e06e4e21d1cb05205
parent4ca5f38f463301cd17284c3ed45add88b3ccc24b (diff)
downloadcpython-212a2e1f9f9a49a796c85493fb079a5ade010a3d.zip
cpython-212a2e1f9f9a49a796c85493fb079a5ade010a3d.tar.gz
cpython-212a2e1f9f9a49a796c85493fb079a5ade010a3d.tar.bz2
On the mac some library paths returned were outdated, some were outright funny.
Fixed.
-rw-r--r--Lib/distutils/sysconfig.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py
index 558ff29..cc663a8 100644
--- a/Lib/distutils/sysconfig.py
+++ b/Lib/distutils/sysconfig.py
@@ -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 "