[Stackless-checkins] CVS: slpdev/src/2.2/src/Mac/OSX/Dist/resources ReadMe.txt, NONE, 1.1 Welcome.rtf, NONE, 1.1 postflight, NONE, 1.1
Christian Tismer
tismer at centera.de
Sat May 1 02:54:28 CEST 2004
- Previous message: [Stackless-checkins] CVS: slpdev/src/2.2/src/Mac/OSX/Dist README.txt, NONE, 1.1 build, NONE, 1.1 example-pimp-database.plist, NONE, 1.1 makedmg, NONE, 1.1
- Next message: [Stackless-checkins] CVS: slpdev/src/2.2/src/Mac/OSX/Doc setup.py, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/slpdev/src/2.2/src/Mac/OSX/Dist/resources
In directory centera.de:/home/tismer/slpdev/src/2.2/src/Mac/OSX/Dist/resources
Added Files:
ReadMe.txt Welcome.rtf postflight
Log Message:
added files
--- NEW FILE: ReadMe.txt ---
This package will install MacPython 2.3.2 for Mac OS X
10.2. Installation on the Panther preview may work, on
10.1 or earlier will not work.
Installation requires approximately 20 MB of disk
space, ignore the message that it will take zero bytes.
You must install onto your current boot disk, even
though the installer does not enforce this, otherwise
things will not work.
MacPython consists of the Python programming language
interpreter, plus a set of programs to allow easy
access to it for Mac users (an integrated development
environment, a Python extension package manager), plus
a set of pre-built extension modules that open up
specific Macintosh technologies to Python programs
(Carbon, AppleScript, Quicktime, more).
The installer puts the applications in MacPython-2.3 in
your Applications folder, command-line tools in
/usr/local/bin and the underlying machinery in
/Library/Frameworks/Python.framework.
The PythonIDE application has a Help command that gets
you started quickly with MacPython and contains
references to other documentation.
More information on MacPython can be found at
http://www.cwi.nl/~jack/macpython.html, more
information on Python in general at
http://www.python.org.
--- NEW FILE: Welcome.rtf ---
{\rtf1\mac\ansicpg10000\cocoartf102
{\fonttbl\f0\fswiss\fcharset77 Helvetica;\f1\fswiss\fcharset77 Helvetica-Bold;}
{\colortbl;\red255\green255\blue255;}
\paperw11900\paperh16840\margl1440\margr1440\vieww9920\viewh10660\viewkind0
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural
\f0\fs24 \cf0 This package will install
\f1\b MacPython 2.3
\f0\b0 for
\f1\b Mac OS X 10.2
\f0\b0 . Installation on the Panther preview may work, on 10.1 or earlier will not work.\
\
MacPython consists of the Python programming language interpreter, plus a set of programs to allow easy access to it for Mac users (an integrated development environment, a Python extension package manager), plus a set of pre-built extension modules that open up specific Macintosh technologies to Python programs (Carbon, AppleScript, Quicktime, more).\
\
See the ReadMe file for more information.}
--- NEW FILE: postflight ---
#!/bin/sh
#----------------------------------------------------------------------
# Create the unix tools and compile the .py files after Python has been
# installed.
#----------------------------------------------------------------------
PYVER=2.3
PKG=$1
DEST=$2
# Make sure things are group-writeable
umask 2
# if destination is / then use usr/local/bin, otherwise just bin
if [ "$DEST" = "/" ]; then
TOOLDIR=/usr/local/bin
DEST=
else
TOOLDIR=$DEST/bin
fi
# Make sure the dir exists
mkdir -p $TOOLDIR
# Make some links to the python executable
ln -fsh $DEST/Library/Frameworks/Python.framework/Versions/$PYVER/bin/python $TOOLDIR/python$PYVER
ln -fsh python$PYVER $TOOLDIR/python
# make the pythonw script
rm -f $TOOLDIR/pythonw$PYVER
cat > $TOOLDIR/pythonw$PYVER <<EOF
#!/bin/sh
exec "$DEST/Library/Frameworks/Python.framework/Versions/$PYVER/Resources/Python.app/Contents/MacOS/Python" "\$@"
EOF
chmod +x $TOOLDIR/pythonw$PYVER
ln -fsh pythonw$PYVER $TOOLDIR/pythonw
# Compile the .py files in the Python library to .pyc's and then .pyo's
$TOOLDIR/python -Wi -tt \
$DEST/Library/Frameworks/Python.framework/Versions/$PYVER/lib/python$PYVER/compileall.py \
-x badsyntax -x site-packages $DEST/Library/Frameworks/Python.framework/Versions/$PYVER/lib/python$PYVER
$TOOLDIR/python -Wi -tt -O \
$DEST/Library/Frameworks/Python.framework/Versions/$PYVER/lib/python$PYVER/compileall.py \
-x badsyntax -x site-packages $DEST/Library/Frameworks/Python.framework/Versions/$PYVER/lib/python$PYVER
$TOOLDIR/python -Wi -tt \
$DEST/Library/Frameworks/Python.framework/Versions/$PYVER/lib/python$PYVER/compileall.py \
$DEST/Library/Frameworks/Python.framework/Versions/$PYVER/Mac/Tools
$TOOLDIR/python -Wi -tt -O \
$DEST/Library/Frameworks/Python.framework/Versions/$PYVER/lib/python$PYVER/compileall.py \
$DEST/Library/Frameworks/Python.framework/Versions/$PYVER/Mac/Tools
# Make the site-packages and other dirs writable by the admin if destination is /
if [ "$DEST" = "/" ]; then
for d in $DEST/Library/Frameworks/Python.framework/Versions/$PYVER/lib/python$PYVER/site-packages \
$DEST/Library/Frameworks/Python.framework/Versions/$PYVER/bin \
$DEST/Library/Frameworks/Python.framework/Versions/$PYVER/Resources/Python.app/Contents/Resources \
$DEST/Applications/MacPython-$PYVER; do
chgrp -R admin $d
chmod -R g+w $d
done
fi
if [ "$DEST" != "/" ]; then
# The link in the app bundles and in pydoc need updating.
installed_python=$DEST/Library/Frameworks/Python.framework/Versions/$PYVER/Resources/Python.app/Contents/MacOS/python
for app in BuildApplet IDLE PackageManager PythonIDE; do
ln -fsh $installed_python \
$DEST/Applications/MacPython-$PYVER/$app.app/Contents/MacOS
ed -s $DEST/Applications/MacPython-$PYVER/$app.app/Contents/MacOS/$app << xyzzy
1c
#!$installed_python
.
w
q
xyzzy
ed -s $DEST/Library/Frameworks/Python.framework/Versions/$PYVER/bin/pydoc << xyzzy
1c
#!$installed_python
.
w
q
xyzzy
done
fi
_______________________________________________
Stackless-checkins mailing list
Stackless-checkins at stackless.com
http://www.stackless.com/mailman/listinfo/stackless-checkins
- Previous message: [Stackless-checkins] CVS: slpdev/src/2.2/src/Mac/OSX/Dist README.txt, NONE, 1.1 build, NONE, 1.1 example-pimp-database.plist, NONE, 1.1 makedmg, NONE, 1.1
- Next message: [Stackless-checkins] CVS: slpdev/src/2.2/src/Mac/OSX/Doc setup.py, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Stackless-checkins
mailing list