Building Python C extension modules for Windows

前端 未结 2 1740
再見小時候
再見小時候 2020-12-09 05:33

I have a C extension module and it would be nice to distribute built binaries. Setuptools makes it easy to build extensions modules on OS X and GNU/Linux, since those OSs co

2条回答
  •  南笙
    南笙 (楼主)
    2020-12-09 05:51

    You can use both MinGW and VC++ Express (free, no need to buy it).

    See:

    1. http://eli.thegreenplace.net/2008/06/28/compiling-python-extensions-with-distutils-and-mingw/
    2. http://eli.thegreenplace.net/2008/06/27/creating-python-extension-modules-in-c/

提交回复
热议问题