Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f80798b

Browse files
committed
When building the IDE check that waste is available, to forestall
surprises later (the IDE won't work without waste).
1 parent 4b48d6b commit f80798b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Mac/OSX/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,11 @@ install_Python: $(PYTHON)
9898
$(INSTALL_DATA) $(RESOURCEFILE) $(APPINSTALLDIR)/Contents/Resources/$(RESOURCEFILE)
9999

100100
install_IDE: $(INSTALLED_PYTHONW)
101+
@if $(INSTALLED_PYTHONW) -c "import waste"; then ; else \
102+
echo PythonIDE needs the \"waste\" extension module; \
103+
echo See Mac/OSX/README for details; \
104+
exit 1; \
105+
fi
101106
$(INSTALLED_PYTHONW) $(srcdir)/Mac/scripts/BuildApplet.py \
102107
--output $(PYTHONAPPSDIR)/PythonIDE.app --noargv \
103108
$(srcdir)/Mac/Tools/IDE/PythonIDE.py

0 commit comments

Comments
 (0)