| | 25 | |
| | 26 | === With Mingw === |
| | 27 | The easiest way to build the extensions without MSVC is to install MinGW, for example using the [http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=240780 automated installer]. |
| | 28 | Then, create a distutils.cfg file in your distutils installation path (for example, C:\Python2.5\Lib\distutils\distutils.cfg), and put the following content: |
| | 29 | {{{ |
| | 30 | [build] |
| | 31 | compiler=mingw32 |
| | 32 | }}} |
| | 33 | |
| | 34 | And then issue {{{$ python setup.py install}}}. You can also pass the {{{--compiler=mingw32}}} option to the build command instead of using distutils.cfg. |
| | 35 | |