diff --git a/motivation.rst b/motivation.rst index 4af64b7..5e4166c 100644 --- a/motivation.rst +++ b/motivation.rst @@ -2,13 +2,23 @@ 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. 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