[Numpy-svn] r8336 - branches/1.4.x

numpy-svn@scip... numpy-svn@scip...
Sun Apr 18 03:46:52 CDT 2010


Author: rgommers
Date: 2010-04-18 03:46:52 -0500 (Sun, 18 Apr 2010)
New Revision: 8336

Modified:
   branches/1.4.x/pavement.py
Log:
Make Wine paths a little less hardcoded.

Modified: branches/1.4.x/pavement.py
===================================================================
--- branches/1.4.x/pavement.py	2010-04-18 08:46:39 UTC (rev 8335)
+++ branches/1.4.x/pavement.py	2010-04-18 08:46:52 UTC (rev 8336)
@@ -118,8 +118,8 @@
 
 if sys.platform =="darwin":
     WINDOWS_PYTHON = {
-        "2.6": ["wine", "/Users/david/.wine/drive_c/Python26/python.exe"],
-        "2.5": ["wine", "/Users/david/.wine/drive_c/Python25/python.exe"]
+        "2.6": ["wine", os.environ['HOME'] + "/.wine/drive_c/Python26/python.exe"],
+        "2.5": ["wine", os.environ['HOME'] + "/.wine/drive_c/Python25/python.exe"]
     }
     WINDOWS_ENV = os.environ
     WINDOWS_ENV["DYLD_FALLBACK_LIBRARY_PATH"] = "/usr/X11/lib:/usr/lib"
@@ -135,8 +135,8 @@
     MAKENSIS = ["makensis"]
 else:
     WINDOWS_PYTHON = {
-        "2.6": ["wine", "/home/david/.wine/drive_c/Python26/python.exe"],
-        "2.5": ["wine", "/home/david/.wine/drive_c/Python25/python.exe"]
+        "2.6": ["wine", os.environ['HOME'] + "/.wine/drive_c/Python26/python.exe"],
+        "2.5": ["wine", os.environ['HOME'] + "/.wine/drive_c/Python25/python.exe"]
     }
     WINDOWS_ENV = os.environ
     MAKENSIS = ["wine", "makensis"]



More information about the Numpy-svn mailing list