[ python-Bugs-756842 ] Ms VC 2003 not supported

SourceForge.net noreply at sourceforge.net
Mon Feb 20 18:21:12 CET 2006


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

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Distutils
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
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: Georg Brandl (gbrandl)
Date: 2006-02-20 17:21

Message:
Logged In: YES 
user_id=849994

The preferred compiler is now MS VC 2003, so closing this.

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

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


More information about the Python-bugs-list mailing list