- Ran it.
6. How do I create a binary distribution?
-----------------------------------------
+First go to Mac/OSX and run "python fixversions.py -a" with the Python
+you are going to distribute. This will fix the version numbers and copyright
+strings in the various Info.plist files.
+
Go to the Mac/OSX/Dist directory. There you find a script "build" that
does all the work: it configures and builds a framework Python, installs
it, creates the installer package file and packs this in a DMG image.
".rsrc.df.rsrc" files on the fly that are normal datafork-based resource
files.
- Jack Jansen, Jack.Jansen@cwi.nl, 20-Jun-2003.
\ No newline at end of file
+ Jack Jansen, Jack.Jansen@cwi.nl, 15-Jul-2004.
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
-<plist version="0.9">
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
</array>
<key>CFBundleExecutable</key>
<string>Python</string>
-
<key>CFBundleGetInfoString</key>
- <string>2.4a0, (c) 2003 Python Software Foundation.</string>
- <key>CFBundleLongVersionString</key>
- <string>2.4a0, (c) 2003 Python Software Foundation.</string>
- <key>NSHumanReadableCopyright</key>
- <string>Copyright 2003 Python Software Foundation.</string>
- <key>CFBundleShortVersionString</key>
- <string>2.4a0</string>
-
+ <string>2.4alpha1, (c) 2004 Python Software Foundation.</string>
<key>CFBundleHelpBookFolder</key>
<array>
<string>Documentation</string>
<string>MacPython Help</string>
<key>CFBundleHelpTOCFile</key>
<string>index.html</string>
-
<key>CFBundleIconFile</key>
<string>PythonInterpreter.icns</string>
<key>CFBundleIdentifier</key>
<string>org.python.python</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
+ <key>CFBundleLongVersionString</key>
+ <string>2.4alpha1, (c) 2004 Python Software Foundation.</string>
<key>CFBundleName</key>
<string>Python</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>2.4alpha1</string>
<key>CFBundleSignature</key>
<string>PytX</string>
<key>CFBundleVersion</key>
- <string>2.4a0</string>
- <key>LSRequiresCarbon</key>
- <true/>
+ <string>2.4alpha1</string>
<key>CSResourcesFileMapped</key>
<true/>
+ <key>LSRequiresCarbon</key>
+ <true/>
<key>NSAppleScriptEnabled</key>
<true/>
+ <key>NSHumanReadableCopyright</key>
+ <string>(c) 2004 Python Software Foundation.</string>
</dict>
</plist>
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
-<plist version="0.9">
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
<dict>
<key>BuildVersion</key>
<string>1</string>
<key>CFBundleShortVersionString</key>
- <string>2.4a0</string>
+ <string>2.4alpha1</string>
<key>CFBundleVersion</key>
- <string>2.4a0</string>
+ <string>2.4alpha1</string>
<key>ProjectName</key>
<string>Python</string>
<key>ReleaseStatus</key>
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
-<plist version="0.9">
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
</array>
<key>CFBundleExecutable</key>
<string>PackageManager</string>
-
<key>CFBundleGetInfoString</key>
- <string>2.3.2, (c) 2003 Python Software Foundation.</string>
- <key>CFBundleLongVersionString</key>
- <string>2.3.2, (c) 2003 Python Software Foundation.</string>
- <key>NSHumanReadableCopyright</key>
- <string>Copyright 2003 Python Software Foundation.</string>
- <key>CFBundleShortVersionString</key>
- <string>2.3.2</string>
-
+ <string>2.4alpha1, (c) 2004 Python Software Foundation.</string>
<key>CFBundleIconFile</key>
<string>PackageManager.icns</string>
<key>CFBundleIdentifier</key>
<string>org.python.pythonide</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
+ <key>CFBundleLongVersionString</key>
+ <string>2.4alpha1, (c) 2004 Python Software Foundation.</string>
<key>CFBundleName</key>
<string>PythonIDE</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>2.4alpha1</string>
<key>CFBundleSignature</key>
<string>Pide</string>
<key>CFBundleVersion</key>
- <string>2.3.2</string>
- <key>LSRequiresCarbon</key>
- <true/>
+ <string>2.4alpha1</string>
<key>CSResourcesFileMapped</key>
<true/>
+ <key>LSRequiresCarbon</key>
+ <true/>
+ <key>NSHumanReadableCopyright</key>
+ <string>(c) 2004 Python Software Foundation.</string>
</dict>
</plist>
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
-<plist version="0.9">
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
</array>
<key>CFBundleExecutable</key>
<string>PythonIDE</string>
-
<key>CFBundleGetInfoString</key>
- <string>2.4a0, (c) 2003 Python Software Foundation.</string>
- <key>CFBundleLongVersionString</key>
- <string>2.4a0, (c) 2003 Python Software Foundation.</string>
- <key>NSHumanReadableCopyright</key>
- <string>Copyright 2003 Python Software Foundation.</string>
- <key>CFBundleShortVersionString</key>
- <string>2.4a0</string>
-
+ <string>2.4alpha1, (c) 2004 Python Software Foundation.</string>
<key>CFBundleHelpBookFolder</key>
<array>
<string>PythonDocumentation</string>
<string>Python Help</string>
<key>CFBundleHelpTOCFile</key>
<string>index.html</string>
-
<key>CFBundleIconFile</key>
<string>PythonIDE.icns</string>
<key>CFBundleIdentifier</key>
<string>org.python.pythonide</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
+ <key>CFBundleLongVersionString</key>
+ <string>2.4alpha1, (c) 2004 Python Software Foundation.</string>
<key>CFBundleName</key>
<string>PythonIDE</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>2.4alpha1</string>
<key>CFBundleSignature</key>
<string>Pide</string>
<key>CFBundleVersion</key>
- <string>2.3.2</string>
- <key>LSRequiresCarbon</key>
- <true/>
+ <string>2.4alpha1</string>
<key>CSResourcesFileMapped</key>
<true/>
+ <key>LSRequiresCarbon</key>
+ <true/>
+ <key>NSHumanReadableCopyright</key>
+ <string>(c) 2004 Python Software Foundation.</string>
</dict>
</plist>
# keep this (__main__) as clean as possible, since we are using
# it like the "normal" interpreter.
-__version__ = '1.0.1'
+__version__ = '1.0.2'
import sys
import os
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
-<plist version="0.9">
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
</array>
<key>CFBundleExecutable</key>
<string>BuildApplet</string>
-
<key>CFBundleGetInfoString</key>
- <string>2.3.2, (c) 2003 Python Software Foundation.</string>
- <key>CFBundleLongVersionString</key>
- <string>2.3.2, (c) 2003 Python Software Foundation.</string>
- <key>NSHumanReadableCopyright</key>
- <string>Copyright 2003 Python Software Foundation.</string>
- <key>CFBundleShortVersionString</key>
- <string>2.3.2</string>
-
+ <string>2.4alpha1, (c) 2004 Python Software Foundation.</string>
<key>CFBundleIconFile</key>
<string>BuildApplet.icns</string>
<key>CFBundleIdentifier</key>
<string>org.python.buildapplet</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
+ <key>CFBundleLongVersionString</key>
+ <string>2.4alpha1, (c) 2004 Python Software Foundation.</string>
<key>CFBundleName</key>
<string>PythonIDE</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>2.4alpha1</string>
<key>CFBundleSignature</key>
<string>Pide</string>
<key>CFBundleVersion</key>
- <string>2.3.2</string>
- <key>LSRequiresCarbon</key>
- <true/>
+ <string>2.4alpha1</string>
<key>CSResourcesFileMapped</key>
<true/>
+ <key>LSRequiresCarbon</key>
+ <true/>
+ <key>NSHumanReadableCopyright</key>
+ <string>(c) 2004 Python Software Foundation.</string>
</dict>
</plist>