diff options
author | Moshe Zadka <moshez@math.huji.ac.il> | 2001-03-31 13:52:02 +0000 |
---|---|---|
committer | Moshe Zadka <moshez@math.huji.ac.il> | 2001-03-31 13:52:02 +0000 |
commit | bd13e8528b8dc769d60de7aa18134b9c912b9445 (patch) | |
tree | 5c586cd735e2e177c423a4133205b7189eafe42e | |
parent | a8f9bb48a5fb8f9ef84fd9269d0850c30603341f (diff) | |
download | cpython-bd13e8528b8dc769d60de7aa18134b9c912b9445.tar.gz |
The ".pth" code knew about the layout of Python trees on unix and
windows, but not on the mac. Fixed.
-rw-r--r-- | Lib/site.py | 2 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/Lib/site.py b/Lib/site.py index dc1b6147ac..0687658998 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: @@ -121,6 +121,9 @@ http://sourceforge.net/tracker/index.php?func=detail&aid=<id>&group_id=5470&atid - Made statcache.forget_dir more portable +- In site.py, the ".pth" code knew about the layout of Python trees on + unix and windows, but not on the mac. Fixed. + What's New in Python 2.0? ========================= |