diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-12-12 22:39:04 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-12-12 22:39:04 (GMT) |
commit | d49056cd9076cde83ded11966f070f3f76ffd2a9 (patch) | |
tree | 6f45919bc9c6eb8a2ceb206bc24fbad6a9997b90 /Lib/site.py | |
parent | fd0226b3275a1290cbaef0a462133c21e0f43d56 (diff) | |
download | cpython-d49056cd9076cde83ded11966f070f3f76ffd2a9.zip cpython-d49056cd9076cde83ded11966f070f3f76ffd2a9.tar.gz cpython-d49056cd9076cde83ded11966f070f3f76ffd2a9.tar.bz2 |
The ".pth" code knew about the layout of Python trees on unix and
windows, but not on the mac. Fixed.
Diffstat (limited to 'Lib/site.py')
-rw-r--r-- | Lib/site.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/site.py b/Lib/site.py index 52ad11d..512f00b 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -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: |