merge with HEAD
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Thu, 04 Sep 2008 12:20:02 -0700
changeset 3622 a74c78bfc304
parent 3621 378795604085 (current diff)
parent 3620 25871ba19a71 (diff)
child 3623 5209cecd2ade
merge with HEAD
--- a/bindings/python/wscript	Thu Sep 04 12:19:44 2008 -0700
+++ b/bindings/python/wscript	Thu Sep 04 12:20:02 2008 -0700
@@ -10,6 +10,7 @@
 import pproc as subprocess
 from Params import fatal, warning
 import shutil
+import sys
 
 ## Adjust python path to look for our local copy of pybindgen
 LOCAL_PYBINDGEN_PATH = os.path.join(os.getcwd(), "bindings", "python", "pybindgen")
@@ -90,6 +91,10 @@
 
     conf.check_tool('misc')
 
+    if sys.platform == 'cygwin':
+        warning("Python is not supported in CygWin environment.  Try MingW instead.")
+        return
+
     ## Check for Python
     try:
         conf.check_tool('python')