[ python-Bugs-1498051 ] MSVC compiler problems with .NET v2.0

SourceForge.net noreply at sourceforge.net
Wed May 31 11:15:51 CEST 2006


Bugs item #1498051, was opened at 2006-05-31 11:15
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1498051&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.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Retief Gerber (hrgerber)
Assigned to: Nobody/Anonymous (nobody)
Summary: MSVC compiler problems with .NET v2.0

Initial Comment:
There is a problem with msvccompiler.py that does not 
allow it to work with MS Visual Studio 2005 and .NET 
v2.0

msvccompiler.py
__revision__ = "$Id: msvccompiler.py,v 1.64.2.4 
2005/08/07 20:50:37 loewis Exp $"
from line 128 

            if version > 7.0:
                self.set_macro("FrameworkSDKDir", 
net, "sdkinstallrootv1.1")
            else:
                self.set_macro("FrameworkSDKDir", 
net, "sdkinstallroot")

should be replaced with 

            if version == 7.1:
                self.set_macro("FrameworkSDKDir", 
net, "sdkinstallrootv2.0")
            elif version > 7.0:
                self.set_macro("FrameworkSDKDir", 
net, "sdkinstallrootv1.1")
            else:
                self.set_macro("FrameworkSDKDir", 
net, "sdkinstallroot")

I dont have must dev experience on distutils, so this 
might not be the best solution


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

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


More information about the Python-bugs-list mailing list