]> granicus.if.org Git - python/commitdiff
When building the IDE check that waste is available, to forestall
authorJack Jansen <jack.jansen@cwi.nl>
Fri, 2 Aug 2002 21:04:46 +0000 (21:04 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Fri, 2 Aug 2002 21:04:46 +0000 (21:04 +0000)
surprises later (the IDE won't work without waste).

Mac/OSX/Makefile

index 7b4922e8aba47c608ce56fcc307872bc1f3ad5a0..ff689b6f830923af81439e1693dc8c9495e69e1c 100644 (file)
@@ -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