[Python-Dev] msvccompiler and .NET sdk version
Maybe this is fixed somewhere already, but just fyi: I have the .NET sdk 2.0 installed (but not 1.1) I'm running ActivePython 2.5.1 When I was building Mercurial from sources, I got this error: error: Python was built with Visual Studio 2003; extensions must be built with a compiler than can generate compatible binaries. Visual Studio 2003 was not found on this system. If you have Cygwin installed, you can try compiling with MingW32, by passing "-c mingw32" to setup.py. This is in spite of the fact that I had DISTUTILS_USE_SDK and MSSDK set properly. The problem was that msvccompiler.py was looking for sdkinstallrootv1.1, and bailing when it couldn't be found. I made a small change and it works fine for me now. In load_macros, I put this: if version > 7.0: try: self.set_macro("FrameworkSDKDir", net, "sdkinstallrootv1.1") except KeyError, exc: self.set_macro("FrameworkSDKDir", net, "sdkinstallrootv2.0") I had no problems with it - thought it might be useful for someone else. I do however think that if I have DISTUTILS_USE_SDK set it shouldn't be demanding registry entries of me in the first place. But load_macros gets called in the constructor of MacroExpander before the enclosing MSVCCompiler checks for the env vars, which seems not quite right. I don't use the VStuido installers so much, I just rearrange my environment as needed so I'm used to being bitten by these registry checks and such. For me, and other developers who need to switch between toolsets (VC98, 2003, 2005, etc), running installers each time that stomp on each others' registry entries and install different SDKs is a major pain. In this view of things, the original error message could be seen as slightly misleading as well. I would say that Visual Studio 2003 could in fact be found on my system, just not .NET sdk 1.1. If you ran the installer there's no distinction, but in my case there is. -John ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] svn.python.org ?
I'm unable to get the (apprently external?) 2to3 to update: % svn up Fetching external item into 'Tools/2to3' svn: PROPFIND request failed on '/projects/sandbox/trunk/2to3' svn: PROPFIND of '/projects/sandbox/trunk/2to3': could not connect to server (http://svn.python.org) Something seems amiss. Skip ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] svn.python.org ?
Joseph Armbruster wrote: > > Is svn.python.org ok? I am unable to perform an update at the moment. > > Joseph Armbruster Looks like the httpd on svn.python.org is down: telnet svn.python.org 80 Trying 82.94.237.220... telnet: connect to address 82.94.237.220: Connection refused SSH is up, though, hence the difference for those using svn+ssh. Thanks, Elvis ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] 2.5.2 is coming
any updates here? On Oct 30, 10:19 pm, "Neal Norwitz" <[EMAIL PROTECTED]> wrote: > On Oct 24, 2007 7:22 AM, Facundo Batista <[EMAIL PROTECTED]> wrote: > > > 2007/10/12, Neal Norwitz <[EMAIL PROTECTED]>: > > > > The plan is cut the release candidate around Tuesday/Wednesday next > > > week (Oct 16/17). If all goes well,2.5.2final will follow a week > > > later. > > > Hi Neal! Do you have any update of this schedule? > > Sorry, the various schedules of everyone involved didn't allow us to > get a release out as planned. We are hoping to get out a2.5.2 > release candidate in a couple of weeks. > > n > ___Python-Dev mailing [EMAIL > PROTECTED]://mail.python.org/mailman/listinfo/python-dev > Unsubscribe:http://mail.python.org/mailman/options/python-dev/python-dev2-garchiv... ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com