From 80acecd1bb707908fa37be39e9250715b8586609 Mon Sep 17 00:00:00 2001 From: anatoly techtonik Date: Tue, 21 Jun 2016 23:27:32 +0300 Subject: [PATCH 1/2] motivation.rst add real problem to answer why --- motivation.rst | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/motivation.rst b/motivation.rst index 4af64b7..97f0609 100644 --- a/motivation.rst +++ b/motivation.rst @@ -2,13 +2,22 @@ Why mingwpy? ############ -Python.org distributes binary installers for Python that are built with -:term:`MSVS`. - -It is possible to install a version of MSVS that will build Python extensions -written in C. - -So |--| why do we need mingwpy? +Python extensions for Windows should be compiled with the version of +:term:`MSVS` that was used to compile Python itself. The problem is that for +every Python this version is different. + +========== ====================== +Python 2.7 Visual C++ 2008 (9.0) +---------- ---------------------- +Python 3.3 Visual C++ 2010 (10.0) +---------- ---------------------- +Python 3.4 Visual C++ 2010 (10.0) +---------- ---------------------- +Python 3.5 Visual C++ 2015 (14.0) +========== ====================== + +So to build extension for 2.7, 3.4 and 3.5 you need to install 3 +different compilers. ******************************************** MSVS can be painful to install and configure From 06b524db93cba955552e9f19e2323995ce7b2a9a Mon Sep 17 00:00:00 2001 From: anatoly techtonik Date: Tue, 28 Jun 2016 19:00:05 +0300 Subject: [PATCH 2/2] Update motivation.rst Add link to the full list of compilers --- motivation.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/motivation.rst b/motivation.rst index 97f0609..5e4166c 100644 --- a/motivation.rst +++ b/motivation.rst @@ -17,7 +17,8 @@ Python 3.5 Visual C++ 2015 (14.0) ========== ====================== So to build extension for 2.7, 3.4 and 3.5 you need to install 3 -different compilers. +different compilers. For other Python versions see the full list at +http://matthew-brett.github.io/pydagogue/python_msvc.html ******************************************** MSVS can be painful to install and configure