[pypy-svn] r79320 - pypy/release/1.4.x/lib-python/modified-2.5.2

arigo at codespeak.net arigo at codespeak.net
Sun Nov 21 19:12:22 CET 2010


Author: arigo
Date: Sun Nov 21 19:12:21 2010
New Revision: 79320

Modified:
   pypy/release/1.4.x/lib-python/modified-2.5.2/site.py
Log:
A temporary workaround for the release branch.


Modified: pypy/release/1.4.x/lib-python/modified-2.5.2/site.py
==============================================================================
--- pypy/release/1.4.x/lib-python/modified-2.5.2/site.py	(original)
+++ pypy/release/1.4.x/lib-python/modified-2.5.2/site.py	Sun Nov 21 19:12:21 2010
@@ -380,6 +380,10 @@
 
 def main():
     abs__file__()
+    # TMP
+    if sys.platform == "darwin":
+        sys.path.append(sys.path[-1] + "/plat-mac")
+    # /TMP
     paths_in_sys = removeduppaths()
     if (os.name == "posix" and sys.path and
         os.path.basename(sys.path[-1]) == "Modules"):



More information about the Pypy-commit mailing list