[Python-checkins] python/dist/src/Mac/OSX README,1.6,1.7
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Fri, 06 Sep 2002 13:24:54 -0700
Update of /cvsroot/python/python/dist/src/Mac/OSX
In directory usw-pr-cvs1:/tmp/cvs-serv5658
Modified Files:
README
Log Message:
Started on documentation for building a MacOSX binary installer.
Unfinished.
Index: README
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/OSX/README,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** README 12 Aug 2002 20:46:18 -0000 1.6
--- README 6 Sep 2002 20:24:51 -0000 1.7
***************
*** 107,111 ****
can be used to run non-GUI and GUI python scripts from the command line, respectively.
! 6. Odds and ends.
-----------------
--- 107,138 ----
can be used to run non-GUI and GUI python scripts from the command line, respectively.
! 6. How do I create a binary distribution?
! -----------------------------------------
!
! Note: this section is work-in-progress.
!
! First, to make sure there's no contamination, it is best to remove your existing Python
! installation (clear out /Library/Frameworks/Python.framework and /Applications/Python).
! Also, after build/install is finished check that nothing has shown up in those two locations.
!
! Create a subdirectory of the main python directory, say build-pythondist. In there, run
! ../configure --enable-framework=/tmp/pythondist/Library/Frameworks/Python.framework \
! LDFLAGS=-Wl,-x
! make
! make frameworkinstall
! This installs a complete distribution set in /tmp/pythondist: in a framework build all other
! pathnames are computed from the framework pathname.
!
! Note that the unix tools in /tmp/pythondist are wrong, these have to be removed, and the
! installer post-install script should recreate them on the target system. Also, the .pyc and
! .pyo files need to be removed:
! rm -rf /tmp/pythondist/usr
! python.exe ../Mac/script/zappycfiles.py /tmp/pythondist
!
! TBD: find out how to make a .pkg from here.
!
! TBD: documentation.
!
! 7. Odds and ends.
-----------------