parent
c572e42fb4
commit
4f9013759b
|
@ -119,6 +119,10 @@ non-GUI and GUI python scripts from the command line, respectively.
|
|||
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.
|
||||
|
@ -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
|
||||
files.
|
||||
|
||||
Jack Jansen, Jack.Jansen@cwi.nl, 20-Jun-2003.
|
||||
Jack Jansen, Jack.Jansen@cwi.nl, 15-Jul-2004.
|
|
@ -1,6 +1,6 @@
|
|||
<?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>
|
||||
|
@ -19,16 +19,8 @@
|
|||
</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>
|
||||
|
@ -38,26 +30,31 @@
|
|||
<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>
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<?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>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?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>
|
||||
|
@ -9,33 +9,31 @@
|
|||
</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>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?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>
|
||||
|
@ -25,16 +25,8 @@
|
|||
</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>
|
||||
|
@ -43,24 +35,29 @@
|
|||
<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>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# 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
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?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>
|
||||
|
@ -25,33 +25,31 @@
|
|||
</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>
|
||||
|
|
Loading…
Reference in New Issue