[pypy-issue] [issue779] Can't install anything on windows with mingw

Amaury Forgeot d Arc tracker at bugs.pypy.org
Tue Jul 5 07:56:35 CEST 2011


Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:

Our win32 build uses Visual Studio 2010, and this part of distutils has not been 
adapted for it...
It's not too difficult to add it though.  Can you try with the following 
modifications?


--- a/lib-python/modified-2.7/distutils/cygwinccompiler.py	Mon Jul 04 
13:32:21 2011 -0700
+++ b/lib-python/modified-2.7/distutils/cygwinccompiler.py	Tue Jul 05 
07:53:22 2011 +0200
@@ -75,6 +75,9 @@
         elif msc_ver == '1500':
             # VS2008 / MSVC 9.0
             return ['msvcr90']
+        elif msc_ver == '1600':
+            # VS2010 / MSVC 10.0
+            return ['msvcr100']
         else:
             raise ValueError("Unknown MS Compiler version %s " % msc_ver)

----------
nosy: +afa
priority:  -> bug
status: unread -> chatting

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue779>
________________________________________


More information about the pypy-issue mailing list