[Python-checkins] CVS: distutils/distutils core.py,1.39,1.40
Greg Ward
python-dev@python.org
Thu, 1 Jun 2000 18:55:38 -0700
Update of /cvsroot/python/distutils/distutils
In directory slayer.i.sourceforge.net:/tmp/cvs-serv3126
Modified Files:
core.py
Log Message:
Use Distribution method 'dump_option_dicts()' for debugging output, and only
do so if DEBUG is true.
Index: core.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/core.py,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -r1.39 -r1.40
*** core.py 2000/06/02 00:44:53 1.39
--- core.py 2000/06/02 01:55:36 1.40
***************
*** 9,13 ****
# created 1999/03/01, Greg Ward
! __revision__ = "$Id: core.py,v 1.39 2000/06/02 00:44:53 gward Exp $"
import sys, os
--- 9,13 ----
# created 1999/03/01, Greg Ward
! __revision__ = "$Id: core.py,v 1.40 2000/06/02 01:55:36 gward Exp $"
import sys, os
***************
*** 71,76 ****
"""
- from pprint import pprint # for debugging output
-
# Determine the distribution class -- either caller-supplied or
# our Distribution (see below).
--- 71,74 ----
***************
*** 89,94 ****
dist.parse_config_files()
! print "options (after parsing config files):"
! pprint (dist.command_options)
# Parse the command line; any command-line errors are the end user's
--- 87,93 ----
dist.parse_config_files()
! if DEBUG:
! print "options (after parsing config files):"
! dist.dump_option_dicts()
# Parse the command line; any command-line errors are the end user's
***************
*** 100,105 ****
raise SystemExit, "error: %s" % msg
! print "options (after parsing command line):"
! pprint (dist.command_options)
# And finally, run all the commands found on the command line.
--- 99,105 ----
raise SystemExit, "error: %s" % msg
! if DEBUG:
! print "options (after parsing command line):"
! dist.dump_option_dicts()
# And finally, run all the commands found on the command line.