From 2c7865d6f2f078c5c9f7a167c511e85b7c3cc2e0 Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Thu, 4 Sep 2008 18:45:21 +0100 Subject: [PATCH] Disable Python support on the CygWin platform, at least until/if the problems are fixed. --- bindings/python/wscript | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bindings/python/wscript b/bindings/python/wscript index 36c0c09f8..1b1751b7c 100644 --- a/bindings/python/wscript +++ b/bindings/python/wscript @@ -10,6 +10,7 @@ import Task 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 @@ def configure(conf): 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')