summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-02-12 15:42:49 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-02-12 15:42:49 (GMT)
commitd78003671afa4158e10d5a3c0ed8f7ca89bd27c9 (patch)
treec23ea8a306cf104dc0fd836e9439d57cf3314cf1 /Mac
parentffb8fef6d56e50fcf3dfb3b0a3c037356db9e8a9 (diff)
downloadcpython-d78003671afa4158e10d5a3c0ed8f7ca89bd27c9.zip
cpython-d78003671afa4158e10d5a3c0ed8f7ca89bd27c9.tar.gz
cpython-d78003671afa4158e10d5a3c0ed8f7ca89bd27c9.tar.bz2
Use bundlebuilder directly to build applets.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/OSX/Makefile41
1 files changed, 34 insertions, 7 deletions
diff --git a/Mac/OSX/Makefile b/Mac/OSX/Makefile
index e5ad5c4..0d2e55c 100644
--- a/Mac/OSX/Makefile
+++ b/Mac/OSX/Makefile
@@ -46,8 +46,10 @@ APPTEMPLATE=$(srcdir)/Mac/OSXResources/app
APPSUBDIRS=MacOS Resources Resources/English.lproj
CACHERSRC=$(srcdir)/Mac/scripts/cachersrc.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:
cd $(srcdir)/Mac/OSX/PythonLauncher/PythonLauncher.pbproj ; \
@@ -102,12 +104,37 @@ install_IDE: $(INSTALLED_PYTHONW)
echo PythonIDE needs the \"waste\" extension module; \
echo See Mac/OSX/README for details; \
else \
- echo $(INSTALLED_PYTHONW) $(srcdir)/Mac/scripts/BuildApplet.py \
- --output $(PYTHONAPPSDIR)/PythonIDE.app --noargv \
- $(srcdir)/Mac/Tools/IDE/PythonIDE.py ; \
- $(INSTALLED_PYTHONW) $(srcdir)/Mac/scripts/BuildApplet.py \
- --output $(PYTHONAPPSDIR)/PythonIDE.app --noargv \
- $(srcdir)/Mac/Tools/IDE/PythonIDE.py; \
+ echo $(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; \
+ $(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
install_IDLE: $(INSTALLED_PYTHONW)