--- a/bindings/python/wscript Thu Sep 04 18:30:38 2008 +0100
+++ b/bindings/python/wscript Thu Sep 04 18:45:21 2008 +0100
@@ -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')