[Zope-Checkins] CVS: Zope/inst - configure.py:1.1.2.13

Fred L. Drake, Jr. fred@zope.com
Fri, 24 Jan 2003 16:51:02 -0500


Update of /cvs-repository/Zope/inst
In directory cvs.zope.org:/tmp/cvs-serv18109

Modified Files:
      Tag: chrism-install-branch
	configure.py 
Log Message:
Arrange to pass -q for older, less discrete versions of distutils
(2.3 does the right thing already).


=== Zope/inst/configure.py 1.1.2.12 => 1.1.2.13 ===
--- Zope/inst/configure.py:1.1.2.12	Sat Oct 12 03:47:37 2002
+++ Zope/inst/configure.py	Fri Jan 24 16:50:59 2003
@@ -63,6 +63,9 @@
     print "  - Zope top-level binary directory will be %s." % zope_home
     if OPT_FLAGS:
         print "  - Distutils install flags will be '%s'" % OPT_FLAGS
+    distutils_opts = ""
+    if sys.version[:3] < "2.3":
+        distutils_opts = "-q"
     idata = {
         '<<PYTHON>>':python,
         '<<TARGET_DIR>>':zope_home,
@@ -71,6 +74,7 @@
         '<<ZOPE_MAJOR_VERSION>>':versions.ZOPE_MAJOR_VERSION,
         '<<ZOPE_MINOR_VERSION>>':versions.ZOPE_MINOR_VERSION,
         '<<VERSION_RELEASE_TAG>>':versions.VERSION_RELEASE_TAG,
+        '<<DISTUTILS_OPTS>>':distutils_opts,
         }
     for k,v in idata.items():
         MAKEFILE = MAKEFILE.replace(k, v)