summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-08-02 21:04:46 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-08-02 21:04:46 (GMT)
commitf80798b1ca89d4803f132edf954f6e282e4e6d20 (patch)
tree0bd047759aaaffefc33d8a0553b025aeb71fa4df
parent4b48d6b37c3e52721c18c33217b75ba864695109 (diff)
downloadcpython-f80798b1ca89d4803f132edf954f6e282e4e6d20.zip
cpython-f80798b1ca89d4803f132edf954f6e282e4e6d20.tar.gz
cpython-f80798b1ca89d4803f132edf954f6e282e4e6d20.tar.bz2
When building the IDE check that waste is available, to forestall
surprises later (the IDE won't work without waste).
-rw-r--r--Mac/OSX/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Mac/OSX/Makefile b/Mac/OSX/Makefile
index 7b4922e..ff689b6 100644
--- a/Mac/OSX/Makefile
+++ b/Mac/OSX/Makefile
@@ -98,6 +98,11 @@ install_Python: $(PYTHON)
$(INSTALL_DATA) $(RESOURCEFILE) $(APPINSTALLDIR)/Contents/Resources/$(RESOURCEFILE)
install_IDE: $(INSTALLED_PYTHONW)
+ @if $(INSTALLED_PYTHONW) -c "import waste"; then ; else \
+ echo PythonIDE needs the \"waste\" extension module; \
+ echo See Mac/OSX/README for details; \
+ exit 1; \
+ fi
$(INSTALLED_PYTHONW) $(srcdir)/Mac/scripts/BuildApplet.py \
--output $(PYTHONAPPSDIR)/PythonIDE.app --noargv \
$(srcdir)/Mac/Tools/IDE/PythonIDE.py