[Python-checkins] python/dist/src/Lib/distutils msvccompiler.py, 1.57, 1.57.6.1

theller at users.sourceforge.net theller at users.sourceforge.net
Fri Nov 28 14:35:51 EST 2003


Update of /cvsroot/python/python/dist/src/Lib/distutils
In directory sc8-pr-cvs1:/tmp/cvs-serv12888

Modified Files:
      Tag: release23-maint
	msvccompiler.py 
Log Message:
See SF #848614: distutils' msvccompiler now tries to detect that MSVC6
is installed but the registry settings are incomplete because the gui
has never been run.


Index: msvccompiler.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/msvccompiler.py,v
retrieving revision 1.57
retrieving revision 1.57.6.1
diff -C2 -d -r1.57 -r1.57.6.1
*** msvccompiler.py	17 Jul 2003 14:41:07 -0000	1.57
--- msvccompiler.py	28 Nov 2003 19:35:48 -0000	1.57.6.1
***************
*** 548,551 ****
--- 548,561 ----
                  else:
                      return string.split(d[path], ";")
+         # MSVC 6 seems to create the registry entries we need only when
+         # the GUI is run.
+         if self.__version == 6:
+             for base in HKEYS:
+                 if read_values(base, r"%s\6.0" % self.__root) is not None:
+                     self.warn("It seems you have Visual Studio 6 installed, "
+                         "but the expected registry settings are not present.\n"
+                         "You must at least run the Visual Studio GUI once "
+                         "so that these entries are created.")
+                 break
          return []
  





More information about the Python-checkins mailing list