How to build extensions on Windows?

Sybren Stuvel sybrenUSE at YOURthirdtower.com.imagination
Thu Sep 7 10:14:38 EDT 2006


Kevin D  Smith enlightened us with:
> I've written a simple Python extension for UNIX, but I need to get
> it working on Windows now.  I'm having some difficulties figuring
> out how to do this.

I had to do the same, and I didn't get much result. My solution:
install Cygwin, use the Python that comes with that, and use gcc just
like you're used to. Works like a charm, but the compiled extension is
incompatible with the regular Windows Pythons from python.org and
ActiveState.

Sybren
-- 
Sybren Stüvel
Stüvel IT - http://www.stuvel.eu/



More information about the Python-list mailing list