Skip to content

Commit 4f90137

Browse files
committed
- Added a note about fixversions.py
- Ran it.
1 parent c572e42 commit 4f90137

7 files changed

Lines changed: 58 additions & 64 deletions

File tree

Mac/OSX/README

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ non-GUI and GUI python scripts from the command line, respectively.
119119
6. How do I create a binary distribution?
120120
-----------------------------------------
121121

122+
First go to Mac/OSX and run "python fixversions.py -a" with the Python
123+
you are going to distribute. This will fix the version numbers and copyright
124+
strings in the various Info.plist files.
125+
122126
Go to the Mac/OSX/Dist directory. There you find a script "build" that
123127
does all the work: it configures and builds a framework Python, installs
124128
it, creates the installer package file and packs this in a DMG image.
@@ -156,4 +160,4 @@ macresource module and the Mac/OSX/Makefile cater for this, and create
156160
".rsrc.df.rsrc" files on the fly that are normal datafork-based resource
157161
files.
158162

159-
Jack Jansen, Jack.Jansen@cwi.nl, 20-Jun-2003.
163+
Jack Jansen, Jack.Jansen@cwi.nl, 15-Jul-2004.

Mac/OSXResources/app/Info.plist

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
3-
<plist version="0.9">
2+
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
44
<dict>
55
<key>CFBundleDevelopmentRegion</key>
66
<string>English</string>
@@ -19,16 +19,8 @@
1919
</array>
2020
<key>CFBundleExecutable</key>
2121
<string>Python</string>
22-
2322
<key>CFBundleGetInfoString</key>
24-
<string>2.4a0, (c) 2003 Python Software Foundation.</string>
25-
<key>CFBundleLongVersionString</key>
26-
<string>2.4a0, (c) 2003 Python Software Foundation.</string>
27-
<key>NSHumanReadableCopyright</key>
28-
<string>Copyright 2003 Python Software Foundation.</string>
29-
<key>CFBundleShortVersionString</key>
30-
<string>2.4a0</string>
31-
23+
<string>2.4alpha1, (c) 2004 Python Software Foundation.</string>
3224
<key>CFBundleHelpBookFolder</key>
3325
<array>
3426
<string>Documentation</string>
@@ -38,26 +30,31 @@
3830
<string>MacPython Help</string>
3931
<key>CFBundleHelpTOCFile</key>
4032
<string>index.html</string>
41-
4233
<key>CFBundleIconFile</key>
4334
<string>PythonInterpreter.icns</string>
4435
<key>CFBundleIdentifier</key>
4536
<string>org.python.python</string>
4637
<key>CFBundleInfoDictionaryVersion</key>
4738
<string>6.0</string>
39+
<key>CFBundleLongVersionString</key>
40+
<string>2.4alpha1, (c) 2004 Python Software Foundation.</string>
4841
<key>CFBundleName</key>
4942
<string>Python</string>
5043
<key>CFBundlePackageType</key>
5144
<string>APPL</string>
45+
<key>CFBundleShortVersionString</key>
46+
<string>2.4alpha1</string>
5247
<key>CFBundleSignature</key>
5348
<string>PytX</string>
5449
<key>CFBundleVersion</key>
55-
<string>2.4a0</string>
56-
<key>LSRequiresCarbon</key>
57-
<true/>
50+
<string>2.4alpha1</string>
5851
<key>CSResourcesFileMapped</key>
5952
<true/>
53+
<key>LSRequiresCarbon</key>
54+
<true/>
6055
<key>NSAppleScriptEnabled</key>
6156
<true/>
57+
<key>NSHumanReadableCopyright</key>
58+
<string>(c) 2004 Python Software Foundation.</string>
6259
</dict>
6360
</plist>

Mac/OSXResources/framework/version.plist

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
3-
<plist version="0.9">
2+
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
44
<dict>
55
<key>BuildVersion</key>
66
<string>1</string>
77
<key>CFBundleShortVersionString</key>
8-
<string>2.4a0</string>
8+
<string>2.4alpha1</string>
99
<key>CFBundleVersion</key>
10-
<string>2.4a0</string>
10+
<string>2.4alpha1</string>
1111
<key>ProjectName</key>
1212
<string>Python</string>
1313
<key>ReleaseStatus</key>

Mac/Tools/IDE/PackageManager.plist

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
3-
<plist version="0.9">
2+
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
44
<dict>
55
<key>CFBundleDevelopmentRegion</key>
66
<string>English</string>
@@ -9,33 +9,31 @@
99
</array>
1010
<key>CFBundleExecutable</key>
1111
<string>PackageManager</string>
12-
1312
<key>CFBundleGetInfoString</key>
14-
<string>2.3.2, (c) 2003 Python Software Foundation.</string>
15-
<key>CFBundleLongVersionString</key>
16-
<string>2.3.2, (c) 2003 Python Software Foundation.</string>
17-
<key>NSHumanReadableCopyright</key>
18-
<string>Copyright 2003 Python Software Foundation.</string>
19-
<key>CFBundleShortVersionString</key>
20-
<string>2.3.2</string>
21-
13+
<string>2.4alpha1, (c) 2004 Python Software Foundation.</string>
2214
<key>CFBundleIconFile</key>
2315
<string>PackageManager.icns</string>
2416
<key>CFBundleIdentifier</key>
2517
<string>org.python.pythonide</string>
2618
<key>CFBundleInfoDictionaryVersion</key>
2719
<string>6.0</string>
20+
<key>CFBundleLongVersionString</key>
21+
<string>2.4alpha1, (c) 2004 Python Software Foundation.</string>
2822
<key>CFBundleName</key>
2923
<string>PythonIDE</string>
3024
<key>CFBundlePackageType</key>
3125
<string>APPL</string>
26+
<key>CFBundleShortVersionString</key>
27+
<string>2.4alpha1</string>
3228
<key>CFBundleSignature</key>
3329
<string>Pide</string>
3430
<key>CFBundleVersion</key>
35-
<string>2.3.2</string>
36-
<key>LSRequiresCarbon</key>
37-
<true/>
31+
<string>2.4alpha1</string>
3832
<key>CSResourcesFileMapped</key>
3933
<true/>
34+
<key>LSRequiresCarbon</key>
35+
<true/>
36+
<key>NSHumanReadableCopyright</key>
37+
<string>(c) 2004 Python Software Foundation.</string>
4038
</dict>
4139
</plist>

Mac/Tools/IDE/PythonIDE.plist

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
3-
<plist version="0.9">
2+
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
44
<dict>
55
<key>CFBundleDevelopmentRegion</key>
66
<string>English</string>
@@ -25,16 +25,8 @@
2525
</array>
2626
<key>CFBundleExecutable</key>
2727
<string>PythonIDE</string>
28-
2928
<key>CFBundleGetInfoString</key>
30-
<string>2.4a0, (c) 2003 Python Software Foundation.</string>
31-
<key>CFBundleLongVersionString</key>
32-
<string>2.4a0, (c) 2003 Python Software Foundation.</string>
33-
<key>NSHumanReadableCopyright</key>
34-
<string>Copyright 2003 Python Software Foundation.</string>
35-
<key>CFBundleShortVersionString</key>
36-
<string>2.4a0</string>
37-
29+
<string>2.4alpha1, (c) 2004 Python Software Foundation.</string>
3830
<key>CFBundleHelpBookFolder</key>
3931
<array>
4032
<string>PythonDocumentation</string>
@@ -43,24 +35,29 @@
4335
<string>Python Help</string>
4436
<key>CFBundleHelpTOCFile</key>
4537
<string>index.html</string>
46-
4738
<key>CFBundleIconFile</key>
4839
<string>PythonIDE.icns</string>
4940
<key>CFBundleIdentifier</key>
5041
<string>org.python.pythonide</string>
5142
<key>CFBundleInfoDictionaryVersion</key>
5243
<string>6.0</string>
44+
<key>CFBundleLongVersionString</key>
45+
<string>2.4alpha1, (c) 2004 Python Software Foundation.</string>
5346
<key>CFBundleName</key>
5447
<string>PythonIDE</string>
5548
<key>CFBundlePackageType</key>
5649
<string>APPL</string>
50+
<key>CFBundleShortVersionString</key>
51+
<string>2.4alpha1</string>
5752
<key>CFBundleSignature</key>
5853
<string>Pide</string>
5954
<key>CFBundleVersion</key>
60-
<string>2.3.2</string>
61-
<key>LSRequiresCarbon</key>
62-
<true/>
55+
<string>2.4alpha1</string>
6356
<key>CSResourcesFileMapped</key>
6457
<true/>
58+
<key>LSRequiresCarbon</key>
59+
<true/>
60+
<key>NSHumanReadableCopyright</key>
61+
<string>(c) 2004 Python Software Foundation.</string>
6562
</dict>
6663
</plist>

Mac/Tools/IDE/PythonIDE.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# keep this (__main__) as clean as possible, since we are using
44
# it like the "normal" interpreter.
55

6-
__version__ = '1.0.1'
6+
__version__ = '1.0.2'
77
import sys
88
import os
99

Mac/scripts/BuildApplet.plist

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
3-
<plist version="0.9">
2+
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
44
<dict>
55
<key>CFBundleDevelopmentRegion</key>
66
<string>English</string>
@@ -25,33 +25,31 @@
2525
</array>
2626
<key>CFBundleExecutable</key>
2727
<string>BuildApplet</string>
28-
2928
<key>CFBundleGetInfoString</key>
30-
<string>2.3.2, (c) 2003 Python Software Foundation.</string>
31-
<key>CFBundleLongVersionString</key>
32-
<string>2.3.2, (c) 2003 Python Software Foundation.</string>
33-
<key>NSHumanReadableCopyright</key>
34-
<string>Copyright 2003 Python Software Foundation.</string>
35-
<key>CFBundleShortVersionString</key>
36-
<string>2.3.2</string>
37-
29+
<string>2.4alpha1, (c) 2004 Python Software Foundation.</string>
3830
<key>CFBundleIconFile</key>
3931
<string>BuildApplet.icns</string>
4032
<key>CFBundleIdentifier</key>
4133
<string>org.python.buildapplet</string>
4234
<key>CFBundleInfoDictionaryVersion</key>
4335
<string>6.0</string>
36+
<key>CFBundleLongVersionString</key>
37+
<string>2.4alpha1, (c) 2004 Python Software Foundation.</string>
4438
<key>CFBundleName</key>
4539
<string>PythonIDE</string>
4640
<key>CFBundlePackageType</key>
4741
<string>APPL</string>
42+
<key>CFBundleShortVersionString</key>
43+
<string>2.4alpha1</string>
4844
<key>CFBundleSignature</key>
4945
<string>Pide</string>
5046
<key>CFBundleVersion</key>
51-
<string>2.3.2</string>
52-
<key>LSRequiresCarbon</key>
53-
<true/>
47+
<string>2.4alpha1</string>
5448
<key>CSResourcesFileMapped</key>
5549
<true/>
50+
<key>LSRequiresCarbon</key>
51+
<true/>
52+
<key>NSHumanReadableCopyright</key>
53+
<string>(c) 2004 Python Software Foundation.</string>
5654
</dict>
5755
</plist>

0 commit comments

Comments
 (0)