[Python-bugs-list] [ python-Bugs-756842 ] Ms VC 2003 not supported

SourceForge.net noreply@sourceforge.net
Tue, 24 Jun 2003 13:07:38 -0700


Bugs item #756842, was opened at 2003-06-18 21:17
Message generated for change (Comment added) made by jhylton
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=756842&group_id=5470

Category: Distutils
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Paolo Invernizzi (darkarathorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: Ms VC 2003 not supported

Initial Comment:
The current msvccompiler.py has no support for Ms
Visual Studio NET 2003 release.
The registry keys are different than the original
VS.NET and NET Framework

File
"d:\repositories\python\dist\src\lib\distutils\msvccompiler.py",
line 114, in set_macro
    self.macros["$(%s)" % macro] = d[key]
KeyError: 'sdkinstallroot'


---
Paolo Invernizzi

----------------------------------------------------------------------

>Comment By: Jeremy Hylton (jhylton)
Date: 2003-06-24 20:07

Message:
Logged In: YES 
user_id=31392

Paolo mentioned this recipe in private email.

The problems are some little changes is some keys in registry...
The MSVS is reported as 7.1, and at line 118 is turned to:
- vsbase = r"Software\Microsoft\VisualStudio\%s.0" % version
+ vsbase = r"Software\Microsoft\VisualStudio\%s.1" % version

The .NET framework is the 1.1,  and line 123 is:
- self.set_macro("FrameworkSDKDir", net, "sdkinstallroot")
+ self.set_macro("FrameworkSDKDir", net, "sdkinstallrootv1.1")

Note that the installation of VC71 *wants* this SDK, not the
old 1.0, so 
there is no confusion...
VC7 -> SDK 1.0
VC71 -> SDK 1.1


----------------------------------------------------------------------

Comment By: Paolo Invernizzi (darkarathorn)
Date: 2003-06-23 07:58

Message:
Logged In: YES 
user_id=172594

__revision__ = "$Id: msvccompiler.py,v 1.56 2003/05/14
19:48:57 lemburg Exp $"


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2003-06-21 13:48

Message:
Logged In: YES 
user_id=21627

What version of msvccompiler.py are you using? Specifically,
what is its __revision__?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=756842&group_id=5470