Hi, I was wondering if anyone could give me some tips for compiling pyrex
modules on Windows. I'm trying to get seqdb2 working with the popular
compilers on Windows and the pyrex module is the one which usually fails. I
was able to get the entire package compiled with mingw32 by making a file
called distutils.cfg in the python2X/Lib/distutils directory and adding the
lines:

[build_ext]

compiler=mingw32

 

but I'm not sure what to do for Visual Studio 2005 (or 2008 for that
matter). If it helps any, this is the generic error I get when compiling the
pyrex module:

 

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.

 

Thanks,

Alex


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pygr-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pygr-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to