[SciPy-user] Compiling python C-extensions to 'Enthon' on Win32

eric jones eric at enthought.com
Wed Mar 9 15:51:24 EST 2005


Python Enthought Edition comes with mingw 
(C:\Python23\Enthought\MingW\bin) and should set up your path correctly 
to use it (try gcc from the command line to make sure it is there).  
When running setup.py for your module, you can do the following:

    python setup.py build_ext --compiler=mingw32

and that should work.

eric


Bryan Cole wrote:

>Hi,
>
>Can anyone tell me what compilers can be used to  build python
>C-extensions for the current (2.3) Enthought python distribution (on
>WindowsXP)?
>
>I didn't have any luck with the free-to-download MSVC compiler. Do I need
>the full MS-VisualStudio? Which version and does it matter? Are there any
>alternatives (BCC or mingw perhaps)?
>
>cheers,
>Bryan
>
>_______________________________________________
>SciPy-user mailing list
>SciPy-user at scipy.net
>http://www.scipy.net/mailman/listinfo/scipy-user
>  
>




More information about the SciPy-User mailing list