[Python-checkins] python/dist/src/Mac/OSX/Dist build.panther,
1.1.2.4, 1.1.2.5
jackjansen at users.sourceforge.net
jackjansen at users.sourceforge.net
Mon Jan 3 00:19:43 CET 2005
Update of /cvsroot/python/python/dist/src/Mac/OSX/Dist
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28932/Dist
Modified Files:
Tag: release23-maint
build.panther
Log Message:
Getting things in place for the MacPython additions build 3.
Index: build.panther
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/OSX/Dist/Attic/build.panther,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -d -r1.1.2.4 -r1.1.2.5
--- build.panther 27 Dec 2004 16:41:53 -0000 1.1.2.4
+++ build.panther 2 Jan 2005 23:19:39 -0000 1.1.2.5
@@ -24,6 +24,11 @@
echo "No /usr/bin/python; this script expects to be run on 10.3 only"
exit 1
fi
+vers=`/usr/bin/python -V 2>&1`
+if [ "$vers" != "Python 2.3" ]; then
+ echo "/usr/bin/python is not version 2.3; this script expects to be run on 10.3 only"
+ exit 1
+fi
TMPDIR=/tmp/_py
#TMPDIR=/projects/_py
@@ -62,11 +67,29 @@
pushd $PYTHONOSXDIR
+# Check that the Apple Python 2.3 Makefile fixes have been applied on this
+# machine
+if python fixapplepython23.py -n; then
+ :
+else
+ echo
+ echo The additions installer will also install a fix to Apple-installed 2.3
+ echo to make building extensions work in the face of other Pythons.
+ echo But this system needs to have that fix to be able to put it in the installer.
+ echo
+ echo Please run $PYTHONOSXDIR/fixapplepython23.py to install the fix.
+ exit
+fi
+
make -f Makefile.panther DIRMODE=775 EXEMODE=775 FILEMODE=664 DESTDIR=$INSTALLROOT
# Remove the temporary symlink
rm -r $INSTALLROOT/System
+# Install the Makefile fixes
+config=System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/config
+(cd / ; tar cf - $config/Makefile $config/PantherPythonFix) | (cd $INSTALLROOT; tar xf -)
+
# Unfortunately all the ...MODE arguments above still don't do the trick.
# Cop out, and recursively set everything group-writeable.
chmod -R ug+w $INSTALLROOT
More information about the Python-checkins
mailing list