Elliott Slaughter | 29 Jun 20:13
Favicon

[Cython] Compiling with MinGW

Hi,

I just tried to install Cython with Python 2.5.4 (from the binary installer) on Windows. Since I don't have MSVC installed, I get this message:

C:\...\Cython-0.11.2>python setup.py install
...
error: Python was built with Visual Studio 2003;
extensions must be built with a compiler than can generate compatible binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin installed,
you can try compiling with MingW32, by passing "-c mingw32" to setup.py.

But the -c option isn't actually recognized by setup.py:

C:\...\Cython-0.11.2>python setup.py -c mingw32 install
...
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: option -c not recognized

And setup.py --help doesn't give any relevant suggestions.

I would appreciate it if someone could point me in the right direction.

Thanks.

--
Elliott Slaughter

"Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay


Gmane