Hi, Where can I get a working version of swig (suitable for use with Python distutils) for Windows? The downloads from the web site don't work out of the box - distutils uses a -dnone argument, which they don't support, and they don't seem to find the python.swg file when run by hand - I get errors
Distutils probably works with SWIG1.1, which has the -dnone flag. It seems you can still download this one (maybe only the source distro).
swig -python example.i
Generating wrappers for Python SWIG : Fatal error. Unable to locate python.swg. (Possible installation problem)
This is just downloading and extracting to a new directory which I put into my PATH (not how I'd like to do it, but the simplest guess in the absence of any obvious installation instructions :-()
IIRC, you have to set a SWIG_LIB environment variable, but it should be somewhere in the docs.