Use bundlebuilder directly to build applets.

This commit is contained in:
Jack Jansen 2003-02-12 15:42:49 +00:00
parent ffb8fef6d5
commit d78003671a
1 changed files with 34 additions and 7 deletions

View File

@ -46,8 +46,10 @@ APPTEMPLATE=$(srcdir)/Mac/OSXResources/app
APPSUBDIRS=MacOS Resources Resources/English.lproj APPSUBDIRS=MacOS Resources Resources/English.lproj
CACHERSRC=$(srcdir)/Mac/scripts/cachersrc.py CACHERSRC=$(srcdir)/Mac/scripts/cachersrc.py
compileall=$(srcdir)/Lib/compileall.py compileall=$(srcdir)/Lib/compileall.py
bundlebuilder=$(srcdir)/Lib/plat-mac/bundlebuilder.py
installapps: install_PythonLauncher install_Python install_BuildApplet install_IDE install_IDLE installapps: install_PythonLauncher install_Python install_BuildApplet \
install_PackageManager install_IDE install_IDLE
install_PythonLauncher: install_PythonLauncher:
cd $(srcdir)/Mac/OSX/PythonLauncher/PythonLauncher.pbproj ; \ cd $(srcdir)/Mac/OSX/PythonLauncher/PythonLauncher.pbproj ; \
@ -102,12 +104,37 @@ install_IDE: $(INSTALLED_PYTHONW)
echo PythonIDE needs the \"waste\" extension module; \ echo PythonIDE needs the \"waste\" extension module; \
echo See Mac/OSX/README for details; \ echo See Mac/OSX/README for details; \
else \ else \
echo $(INSTALLED_PYTHONW) $(srcdir)/Mac/scripts/BuildApplet.py \ echo $(INSTALLED_PYTHONW) $(bundlebuilder) \
--output $(PYTHONAPPSDIR)/PythonIDE.app --noargv \ --builddir $(PYTHONAPPSDIR)/ \
$(srcdir)/Mac/Tools/IDE/PythonIDE.py ; \ --resource $(srcdir)/Mac/Tools/IDE/PythonIDE.rsrc \
$(INSTALLED_PYTHONW) $(srcdir)/Mac/scripts/BuildApplet.py \ --mainprogram $(srcdir)/Mac/Tools/IDE/PythonIDE.py \
--output $(PYTHONAPPSDIR)/PythonIDE.app --noargv \ --iconfile $(srcdir)/Mac/Tools/IDE/PythonIDE.icns \
$(srcdir)/Mac/Tools/IDE/PythonIDE.py; \ --creator Pide build; \
$(INSTALLED_PYTHONW) $(bundlebuilder) \
--builddir $(PYTHONAPPSDIR)/ \
--resource $(srcdir)/Mac/Tools/IDE/PythonIDE.rsrc \
--mainprogram $(srcdir)/Mac/Tools/IDE/PythonIDE.py \
--iconfile $(srcdir)/Mac/Tools/IDE/PythonIDE.icns \
--creator Pide build; \
fi
install_PackageManager: $(INSTALLED_PYTHONW)
@if ! $(INSTALLED_PYTHONW) -c "import waste"; then \
echo PackageManager needs the \"waste\" extension module; \
echo See Mac/OSX/README for details; \
else \
echo $(INSTALLED_PYTHONW) $(bundlebuilder) \
--builddir $(PYTHONAPPSDIR)/ \
--resource $(srcdir)/Mac/Tools/IDE/PythonIDE.rsrc \
--mainprogram $(srcdir)/Mac/Tools/IDE/PackageManager.py \
--iconfile $(srcdir)/Mac/Tools/IDE/PackageManager.icns \
--creator Pimp build; \
$(INSTALLED_PYTHONW) $(bundlebuilder) \
--builddir $(PYTHONAPPSDIR)/ \
--resource $(srcdir)/Mac/Tools/IDE/PythonIDE.rsrc \
--mainprogram $(srcdir)/Mac/Tools/IDE/PackageManager.py \
--iconfile $(srcdir)/Mac/Tools/IDE/PackageManager.icns \
--creator Pimp build; \
fi fi
install_IDLE: $(INSTALLED_PYTHONW) install_IDLE: $(INSTALLED_PYTHONW)