Commit 4f901375 authored by Jack Jansen's avatar Jack Jansen

- Added a note about fixversions.py

- Ran it.
parent c572e42f
...@@ -119,6 +119,10 @@ non-GUI and GUI python scripts from the command line, respectively. ...@@ -119,6 +119,10 @@ non-GUI and GUI python scripts from the command line, respectively.
6. How do I create a binary distribution? 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 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 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. 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 ...@@ -156,4 +160,4 @@ macresource module and the Mac/OSX/Makefile cater for this, and create
".rsrc.df.rsrc" files on the fly that are normal datafork-based resource ".rsrc.df.rsrc" files on the fly that are normal datafork-based resource
files. files.
Jack Jansen, Jack.Jansen@cwi.nl, 20-Jun-2003. Jack Jansen, Jack.Jansen@cwi.nl, 15-Jul-2004.
\ No newline at end of file \ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd"> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="0.9"> <plist version="1.0">
<dict> <dict>
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
<string>English</string> <string>English</string>
...@@ -19,16 +19,8 @@ ...@@ -19,16 +19,8 @@
</array> </array>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>Python</string> <string>Python</string>
<key>CFBundleGetInfoString</key> <key>CFBundleGetInfoString</key>
<string>2.4a0, (c) 2003 Python Software Foundation.</string> <string>2.4alpha1, (c) 2004 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>
<key>CFBundleHelpBookFolder</key> <key>CFBundleHelpBookFolder</key>
<array> <array>
<string>Documentation</string> <string>Documentation</string>
...@@ -38,26 +30,31 @@ ...@@ -38,26 +30,31 @@
<string>MacPython Help</string> <string>MacPython Help</string>
<key>CFBundleHelpTOCFile</key> <key>CFBundleHelpTOCFile</key>
<string>index.html</string> <string>index.html</string>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string>PythonInterpreter.icns</string> <string>PythonInterpreter.icns</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>org.python.python</string> <string>org.python.python</string>
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundleLongVersionString</key>
<string>2.4alpha1, (c) 2004 Python Software Foundation.</string>
<key>CFBundleName</key> <key>CFBundleName</key>
<string>Python</string> <string>Python</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>2.4alpha1</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>PytX</string> <string>PytX</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>2.4a0</string> <string>2.4alpha1</string>
<key>LSRequiresCarbon</key>
<true/>
<key>CSResourcesFileMapped</key> <key>CSResourcesFileMapped</key>
<true/> <true/>
<key>LSRequiresCarbon</key>
<true/>
<key>NSAppleScriptEnabled</key> <key>NSAppleScriptEnabled</key>
<true/> <true/>
<key>NSHumanReadableCopyright</key>
<string>(c) 2004 Python Software Foundation.</string>
</dict> </dict>
</plist> </plist>
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd"> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="0.9"> <plist version="1.0">
<dict> <dict>
<key>BuildVersion</key> <key>BuildVersion</key>
<string>1</string> <string>1</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>2.4a0</string> <string>2.4alpha1</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>2.4a0</string> <string>2.4alpha1</string>
<key>ProjectName</key> <key>ProjectName</key>
<string>Python</string> <string>Python</string>
<key>ReleaseStatus</key> <key>ReleaseStatus</key>
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd"> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="0.9"> <plist version="1.0">
<dict> <dict>
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
<string>English</string> <string>English</string>
...@@ -9,33 +9,31 @@ ...@@ -9,33 +9,31 @@
</array> </array>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>PackageManager</string> <string>PackageManager</string>
<key>CFBundleGetInfoString</key> <key>CFBundleGetInfoString</key>
<string>2.3.2, (c) 2003 Python Software Foundation.</string> <string>2.4alpha1, (c) 2004 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>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string>PackageManager.icns</string> <string>PackageManager.icns</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>org.python.pythonide</string> <string>org.python.pythonide</string>
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundleLongVersionString</key>
<string>2.4alpha1, (c) 2004 Python Software Foundation.</string>
<key>CFBundleName</key> <key>CFBundleName</key>
<string>PythonIDE</string> <string>PythonIDE</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>2.4alpha1</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>Pide</string> <string>Pide</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>2.3.2</string> <string>2.4alpha1</string>
<key>LSRequiresCarbon</key>
<true/>
<key>CSResourcesFileMapped</key> <key>CSResourcesFileMapped</key>
<true/> <true/>
<key>LSRequiresCarbon</key>
<true/>
<key>NSHumanReadableCopyright</key>
<string>(c) 2004 Python Software Foundation.</string>
</dict> </dict>
</plist> </plist>
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd"> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="0.9"> <plist version="1.0">
<dict> <dict>
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
<string>English</string> <string>English</string>
...@@ -25,16 +25,8 @@ ...@@ -25,16 +25,8 @@
</array> </array>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>PythonIDE</string> <string>PythonIDE</string>
<key>CFBundleGetInfoString</key> <key>CFBundleGetInfoString</key>
<string>2.4a0, (c) 2003 Python Software Foundation.</string> <string>2.4alpha1, (c) 2004 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>
<key>CFBundleHelpBookFolder</key> <key>CFBundleHelpBookFolder</key>
<array> <array>
<string>PythonDocumentation</string> <string>PythonDocumentation</string>
...@@ -43,24 +35,29 @@ ...@@ -43,24 +35,29 @@
<string>Python Help</string> <string>Python Help</string>
<key>CFBundleHelpTOCFile</key> <key>CFBundleHelpTOCFile</key>
<string>index.html</string> <string>index.html</string>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string>PythonIDE.icns</string> <string>PythonIDE.icns</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>org.python.pythonide</string> <string>org.python.pythonide</string>
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundleLongVersionString</key>
<string>2.4alpha1, (c) 2004 Python Software Foundation.</string>
<key>CFBundleName</key> <key>CFBundleName</key>
<string>PythonIDE</string> <string>PythonIDE</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>2.4alpha1</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>Pide</string> <string>Pide</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>2.3.2</string> <string>2.4alpha1</string>
<key>LSRequiresCarbon</key>
<true/>
<key>CSResourcesFileMapped</key> <key>CSResourcesFileMapped</key>
<true/> <true/>
<key>LSRequiresCarbon</key>
<true/>
<key>NSHumanReadableCopyright</key>
<string>(c) 2004 Python Software Foundation.</string>
</dict> </dict>
</plist> </plist>
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# keep this (__main__) as clean as possible, since we are using # keep this (__main__) as clean as possible, since we are using
# it like the "normal" interpreter. # it like the "normal" interpreter.
__version__ = '1.0.1' __version__ = '1.0.2'
import sys import sys
import os import os
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd"> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="0.9"> <plist version="1.0">
<dict> <dict>
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
<string>English</string> <string>English</string>
...@@ -25,33 +25,31 @@ ...@@ -25,33 +25,31 @@
</array> </array>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>BuildApplet</string> <string>BuildApplet</string>
<key>CFBundleGetInfoString</key> <key>CFBundleGetInfoString</key>
<string>2.3.2, (c) 2003 Python Software Foundation.</string> <string>2.4alpha1, (c) 2004 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>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string>BuildApplet.icns</string> <string>BuildApplet.icns</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>org.python.buildapplet</string> <string>org.python.buildapplet</string>
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundleLongVersionString</key>
<string>2.4alpha1, (c) 2004 Python Software Foundation.</string>
<key>CFBundleName</key> <key>CFBundleName</key>
<string>PythonIDE</string> <string>PythonIDE</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>2.4alpha1</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>Pide</string> <string>Pide</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>2.3.2</string> <string>2.4alpha1</string>
<key>LSRequiresCarbon</key>
<true/>
<key>CSResourcesFileMapped</key> <key>CSResourcesFileMapped</key>
<true/> <true/>
<key>LSRequiresCarbon</key>
<true/>
<key>NSHumanReadableCopyright</key>
<string>(c) 2004 Python Software Foundation.</string>
</dict> </dict>
</plist> </plist>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment