[Pyrex] How do I compile Cython demo code for Windows XP Box

David Lees debl2 at verizon.net
Sat Sep 1 08:09:28 CEST 2007


Sorry, I was unable to find the answer to this very basic question in 
the FAQ or documentation.  I have tried both MinGW, release version and 
Visual C++ 2005 without success. 

for MinGW, I used the distutils Setup.py script and no errors occur, but 
I do not see the *.pyd files anywhere.  Here is a pasted and cut from 
running Setup.py

 >>> running build
running build_ext
building 'primes' extension
creating build\temp.win32-2.5
creating build\temp.win32-2.5\Release
gcc -mno-cygwin -mdll -O -Wall -IC:\Python25\include -IC:\Python25\PC -c 
primes.c -o build\temp.win32-2.5\Release\primes.o
 >>>

I put the path to the MinGW compiler in my Windows Enviornmental 
Variable List

David Lees





More information about the Pyrex mailing list