From 4684a09fc5cb67d223e4dff7467813412fceeac1 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Wed, 28 Aug 2002 21:27:02 +0000 Subject: - Install a symlink to the documentation (which lives in the framework) in Python.app, and refer to it in Info.plist. This makes Apple Help Viewer recognize the Python documentation. - Changed the externally visible name of Python.app to "Python" (was PythonW). --- Mac/OSX/Makefile | 4 ++++ Mac/OSXResources/app/Info.plist | 11 +++++++++-- .../app/Resources/English.lproj/InfoPlist.strings | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/Mac/OSX/Makefile b/Mac/OSX/Makefile index ec51d02..699407c 100644 --- a/Mac/OSX/Makefile +++ b/Mac/OSX/Makefile @@ -25,6 +25,7 @@ INSTALL_SYMLINK=/usr/bin/install -l as INSTALL_PROGRAM=${INSTALL} INSTALL_SCRIPT= ${INSTALL_PROGRAM} INSTALL_DATA= ${INSTALL} -m 644 +LN=ln STRIPFLAG=-s OPT=-g -O3 -Wall -Wstrict-prototypes -Wno-long-double -no-cpp-precomp \ -fno-common -dynamic @@ -116,6 +117,9 @@ install_Python: $(PYTHON) fi $(REZ) -useDF -o $(RESOURCEFILE) dialogs.r errors.r $(INSTALL_DATA) $(RESOURCEFILE) $(APPINSTALLDIR)/Contents/Resources/$(RESOURCEFILE) +# Finally create the documentation symlink + $(LN) -fsn ../../../../English.lproj/Documentation $(APPINSTALLDIR)/Contents/Resources/English.lproj/Documentation + install_IDE: $(INSTALLED_PYTHONW) @if $(INSTALLED_PYTHONW) -c "import waste"; then ; else \ diff --git a/Mac/OSXResources/app/Info.plist b/Mac/OSXResources/app/Info.plist index 7fd5117..6022db7 100644 --- a/Mac/OSXResources/app/Info.plist +++ b/Mac/OSXResources/app/Info.plist @@ -29,14 +29,21 @@ CFBundleShortVersionString 2.3 + CFBundleHelpBookFolder + Documentation + CFBundleHelpBookName + Python Help + CFBundleHelpTOCFile + index.html + CFBundleIconFile PythonInterpreter.icns CFBundleIdentifier - org.python.pythonw + org.python.python CFBundleInfoDictionaryVersion 6.0 CFBundleName - PythonW + Python CFBundlePackageType APPL CFBundleSignature diff --git a/Mac/OSXResources/app/Resources/English.lproj/InfoPlist.strings b/Mac/OSXResources/app/Resources/English.lproj/InfoPlist.strings index 20235b4..5f8924e 100644 --- a/Mac/OSXResources/app/Resources/English.lproj/InfoPlist.strings +++ b/Mac/OSXResources/app/Resources/English.lproj/InfoPlist.strings @@ -1,6 +1,6 @@ /* Localized versions of Info.plist keys */ -CFBundleName = "PythonW"; +CFBundleName = "Python"; CFBundleShortVersionString = "Python Interpreter version 2.3"; CFBundleGetInfoString = "Python Interpreter version 2.3, (c) 2002 Python Software Foundation."; CFBundleLongVersionString = "2.3, (c) 2002 Python Software Foundation."; -- cgit v0.12