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

Lenard Lindstrom len-l at telus.net
Sat Sep 1 08:32:51 CEST 2007


David Lees wrote:
> 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
>
>   
Did you set MINGW_ROOT_DIRECTORY?

-- 
Lenard Lindstrom
<len-l at telus.net>




More information about the Pyrex mailing list