This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Ms VC 2003 not supported
Type: Stage:
Components: Distutils Versions: Python 2.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: darkarathorn, georg.brandl, jhylton, loewis
Priority: normal Keywords:

Created on 2003-06-18 21:17 by darkarathorn, last changed 2022-04-10 16:09 by admin. This issue is now closed.

Messages (5)
msg16470 - (view) Author: Paolo Invernizzi (darkarathorn) Date: 2003-06-18 21:17
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
msg16471 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-06-21 13:48
Logged In: YES 
user_id=21627

What version of msvccompiler.py are you using? Specifically,
what is its __revision__?
msg16472 - (view) Author: Paolo Invernizzi (darkarathorn) Date: 2003-06-23 07:58
Logged In: YES 
user_id=172594

__revision__ = "$Id: msvccompiler.py,v 1.56 2003/05/14
19:48:57 lemburg Exp $"
msg16473 - (view) Author: Jeremy Hylton (jhylton) (Python triager) Date: 2003-06-24 20:07
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
msg16474 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-02-20 17:21
Logged In: YES 
user_id=849994

The preferred compiler is now MS VC 2003, so closing this.
History
Date User Action Args
2022-04-10 16:09:19adminsetgithub: 38675
2003-06-18 21:17:41darkarathorncreate