When building the IDE check that waste is available, to forestall

surprises later (the IDE won't work without waste).
This commit is contained in:
Jack Jansen 2002-08-02 21:04:46 +00:00
parent 4b48d6b37c
commit f80798b1ca
1 changed files with 5 additions and 0 deletions

View 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