[Python-checkins] CVS: python/nondist/peps pep-0229.txt,1.2,1.3

A.M. Kuchling akuchling@users.sourceforge.net
Tue, 16 Jan 2001 19:45:37 -0800


Update of /cvsroot/python/python/nondist/peps
In directory usw-pr-cvs1:/tmp/cvs-serv28106

Modified Files:
	pep-0229.txt 
Log Message:
Explain what the patch changes
Downplay building a static Python; it would still be nice, but it won't 
    get done for alpha1, and maybe not for 2.1 at all.


Index: pep-0229.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0229.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** pep-0229.txt	2000/12/01 23:50:46	1.2
--- pep-0229.txt	2001/01/17 03:45:35	1.3
***************
*** 53,69 ****
  Implementation
  
!     Patch #102588 on SourceForge will contain the proposed patch.
!     As of Dec. 1, the patch does the following:
  
-       * Removes the use of makesetup in building the interpreter.
-       * Hard-codes the presence of the strop, posix, and _sre modules. 
-       * Adds an empty top-level setup.py file.
  
-     Still to be done: 
- 
-       * Write the top-level setup.py
-       * Handle a few tricky bits such as the signal module. 
- 
- 
  Unresolved Issues
   
--- 53,93 ----
  Implementation
  
!     Patch #102588 on SourceForge contains the proposed patch.
!     Currently the patch tries to be conservative and to change as few
!     files as possible, in order to simplify backing out the patch.
!     For example, no attempt is made to rip out the existing build
!     mechanisms.  Such simplifications can wait for later in the beta
!     cycle, when we're certain the patch will be left in, or they can
!     wait for Python 2.2.
!     
!     The patch makes the following changes:
! 
!     * Makes some required changes to distutils/sysconfig (these will
!       be checked in separately)
! 
!     * In the top-level Makefile.in, the "sharedmods" target simply 
!       runs "./python setup.py build", and "sharedinstall" runs
!       "./python setup.py install".  The "clobber" target also deletes
!       the build/ subdirectory where Distutils puts its output.
! 
!     * Modules/Setup.config.in only contains entries for the gc and thread
!       modules; the readline, curses, and db modules are removed because 
!       it's now setup.py's job to handle them.
! 
!     * Modules/Setup.dist now contains entries for only 3 modules --
!       _sre, posix, and strop.
! 
!     * The configure script builds setup.cfg from setup.cfg.in.  This
!       is needed for two reasons: to make building in subdirectories
!       work, and to get the configured installation prefix.
! 
!     * Adds setup.py to the top directory of the source tree.  setup.py
!       is the largest piece of the puzzle, though not the most
!       complicated.  setup.py contains a subclass of the BuildExt
!       class, and extends it with a detect_modules() method that does
!       the work of figuring out when modules can be compiled, and adding 
!       them to the 'exts' list.
  
  
  Unresolved Issues
   
***************
*** 77,82 ****
  
      [Answer: building a Python binary with the Distutils should be
!     feasible, though no one has implemented it yet.  This will need to
!     be done, though the main setup.py will probably need to implement
      its own BuildExt subclass anyway.]
     
--- 101,106 ----
  
      [Answer: building a Python binary with the Distutils should be
!     feasible, though no one has implemented it yet.  This should be
!     done, though the main setup.py will probably need to implement
      its own BuildExt subclass anyway.]