[Numpy-discussion] Compile extension modules with Visual Studio 2005

Chris Barker Chris.Barker@noaa....
Wed Jul 25 18:30:22 CDT 2007


Ray Schumacher wrote:
> I agree with others that ctypes might be your best path.

Pyrex is a good bet too:

http://www.scipy.org/Cookbook/Pyrex_and_NumPy

The advantage with pyrex is that you don't have to write any C at all.

You will have to use a compiler that is compatible with your Python build.

I found MingGW very easy to use with the python.org python2.5 on 
Windows-- distutils has built-in support for it.

http://boodebr.org/main/python/build-windows-extensions

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker@noaa.gov


More information about the Numpy-discussion mailing list