1. Armin Rigo
  2. cpython-withatomic

Commits

Moshe Zadka  committed d1c1350

The ".pth" code knew about the layout of Python trees on unix and
windows, but not on the mac. Fixed.

  • Participants
  • Parent commits f34c909
  • Branches 2.0

Comments (0)

Files changed (2)

File Lib/site.py

View file
  • Ignore whitespace
                                  "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:

File Misc/NEWS

View file
  • Ignore whitespace
 
 - 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?
 =========================