[Pythonmac-SIG] Re: Python and Jaguar

Dan Grassi dan@grassi.org
Fri, 16 Aug 2002 08:46:03 -0400


>     JJ> I would be especially
>     JJ> interested in knowing whether they've included a
>     JJ> framework-build or a non-framework-build.

Check the Darwin cvs:
http://www.opensource.apple.com/cgi-bin/registered/cvs/src/live/python/

It appears that Python is considered a part of Darwin.
Registration (free) and login are required.

The Makefile:

##
# Makefile for python
##

Project =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D python
Extra_Configure_Flags =3D --enable-ipv6 --with-threads
Extra_Install_Flags =A0 =3D DESTDIR=3D${DSTROOT}=20
MANDIR=3D${DSTROOT}/usr/share/man
GnuAfterInstall =A0 =A0 =A0 =3D strip-installed-files

# It's a GNU Source project
include $(MAKEFILEPATH)/CoreOS/ReleaseControl/GNUSource.make

Install_Target =3D install

strip-installed-files:
  =A0 =A0 =A0 =A0strip -x ${DSTROOT}/usr/bin/python*
  =A0 =A0 =A0 =A0rm ${DSTROOT}/usr/lib/python2.2/config/*.a
  =A0 =A0 =A0 =A0rm ${DSTROOT}/usr/lib/python2.2/config/python.o
  =A0 =A0 =A0 =A0rm -rf ${DSTROOT}/usr/lib/python2.2/test
  =A0 =A0 =A0 =A0strip -x ${DSTROOT}/usr/lib/python2.2/lib-dynload/*.so