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

Skip to content

Commit dd614fd

Browse files
committed
Fixed lots of minor issues found by Edward Moy: incorrect version
strings, non-standard naming of things in bundles, etc.
1 parent 66b8483 commit dd614fd

7 files changed

Lines changed: 26 additions & 22 deletions

File tree

Mac/OSX/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ install_Python:
106106
esac; \
107107
done; \
108108
done
109-
$(INSTALL_PROGRAM) $(STRIPFLAG) $(BUILDPYTHON) $(DESTDIR)$(APPINSTALLDIR)/Contents/MacOS/python
109+
$(INSTALL_PROGRAM) $(STRIPFLAG) $(BUILDPYTHON) $(DESTDIR)$(APPINSTALLDIR)/Contents/MacOS/Python
110110

111111
install_IDE:
112112
@if ! $(BUILDPYTHON) -c "import waste"; then \

Mac/OSX/PythonLauncher/PythonLauncher.pbproj/project.pbxproj

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@
132132
4A9504D0FFE6A4CB11CA0CBA,
133133
4A9504D1FFE6A4CB11CA0CBA,
134134
);
135-
hasScannedForEncodings = 1;
136135
isa = PBXProject;
137136
mainGroup = 2A37F4AAFDCFA73011CA2CEA;
138137
projectDirPath = "";
@@ -364,28 +363,31 @@
364363
<key>CFBundleExecutable</key>
365364
<string>PythonLauncher</string>
366365
<key>CFBundleGetInfoString</key>
367-
<string>Python Launcher</string>
366+
<string>2.3, © 2001-2003 Python Software Foundation</string>
368367
<key>CFBundleIconFile</key>
369368
<string>PythonInterpreter.icns</string>
370369
<key>CFBundleIdentifier</key>
371370
<string>org.python.PythonLauncher</string>
372371
<key>CFBundleInfoDictionaryVersion</key>
373372
<string>6.0</string>
374373
<key>CFBundleName</key>
375-
<string>Python Launcher</string>
374+
<string>PythonLauncher</string>
376375
<key>CFBundlePackageType</key>
377376
<string>APPL</string>
377+
<key>CFBundleShortVersionString</key>
378+
<string>2.3</string>
378379
<key>CFBundleSignature</key>
379380
<string>PytL</string>
380381
<key>CFBundleVersion</key>
381-
<string>2.3a0</string>
382+
<string>2.3</string>
382383
<key>NSMainNibFile</key>
383384
<string>MainMenu</string>
384385
<key>NSPrincipalClass</key>
385386
<string>NSApplication</string>
386387
</dict>
387388
</plist>
388389
";
390+
shouldUseHeadermap = 0;
389391
};
390392
2A37F4C7FDCFA73011CA2CEA = {
391393
buildActionMask = 2147483647;

Mac/OSXResources/app/Info.plist

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
</dict>
1919
</array>
2020
<key>CFBundleExecutable</key>
21-
<string>python</string>
21+
<string>Python</string>
2222

2323
<key>CFBundleGetInfoString</key>
24-
<string>Python Interpreter version 2.3, (c) 2002 Python Software Foundation.</string>
24+
<string>2.3, (c) 2003 Python Software Foundation.</string>
2525
<key>CFBundleLongVersionString</key>
26-
<string>2.3, (c) 2002 Python Software Foundation.</string>
26+
<string>2.3, (c) 2003 Python Software Foundation.</string>
2727
<key>NSHumanReadableCopyright</key>
28-
<string>Copyright 2002 Python Software Foundation.</string>
28+
<string>Copyright 2003 Python Software Foundation.</string>
2929
<key>CFBundleShortVersionString</key>
3030
<string>2.3</string>
3131

@@ -57,5 +57,7 @@
5757
<true/>
5858
<key>CSResourcesFileMapped</key>
5959
<true/>
60+
<key>NSAppleScriptEnabled</key>
61+
<true/>
6062
</dict>
6163
</plist>
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* Localized versions of Info.plist keys */
22

33
CFBundleName = "Python";
4-
CFBundleShortVersionString = "Python Interpreter version 2.3";
5-
CFBundleGetInfoString = "Python Interpreter version 2.3, (c) 2002 Python Software Foundation.";
6-
CFBundleLongVersionString = "2.3, (c) 2002 Python Software Foundation.";
7-
NSHumanReadableCopyright = "Copyright 2002 Python Software Foundation.";
4+
CFBundleShortVersionString = "2.3";
5+
CFBundleGetInfoString = "2.3, (c) 2003 Python Software Foundation.";
6+
CFBundleLongVersionString = "2.3, (c) 2003 Python Software Foundation.";
7+
NSHumanReadableCopyright = "Copyright 2003 Python Software Foundation.";
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Localized versions of Info.plist keys */
22

33
CFBundleName = "Python";
4-
CFBundleShortVersionString = "2.2a1";
5-
CFBundleGetInfoString = "Python Runtime and Library";
4+
CFBundleShortVersionString = "2.3";
5+
CFBundleGetInfoString = "2.3, (c) 2003 Python Software Foundation";

Mac/OSXResources/framework/version.plist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
<key>BuildVersion</key>
66
<string>1</string>
77
<key>CFBundleShortVersionString</key>
8-
<string>2.2</string>
8+
<string>2.3</string>
99
<key>CFBundleVersion</key>
10-
<string>Python 2.2</string>
10+
<string>2.3</string>
1111
<key>ProjectName</key>
1212
<string>Python</string>
1313
<key>ReleaseStatus</key>
1414
<string>final</string>
1515
<key>SourceVersion</key>
16-
<string>2.2</string>
16+
<string>2.3</string>
1717
</dict>
1818
</plist>

Mac/Tools/IDE/PythonIDE.plist

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424
</dict>
2525
</array>
2626
<key>CFBundleExecutable</key>
27-
<string>python</string>
27+
<string>PythonIDE</string>
2828

2929
<key>CFBundleGetInfoString</key>
30-
<string>Python IDE version 2.3, (c) 2002 Python Software Foundation.</string>
30+
<string>2.3, (c) 2003 Python Software Foundation.</string>
3131
<key>CFBundleLongVersionString</key>
32-
<string>2.3, (c) 2002 Python Software Foundation.</string>
32+
<string>2.3, (c) 2003 Python Software Foundation.</string>
3333
<key>NSHumanReadableCopyright</key>
34-
<string>Copyright 2002 Python Software Foundation.</string>
34+
<string>Copyright 2003 Python Software Foundation.</string>
3535
<key>CFBundleShortVersionString</key>
3636
<string>2.3</string>
3737

0 commit comments

Comments
 (0)