Weave - inline C

Michael Foord fuzzyman at gmail.com
Wed Aug 25 08:58:30 CEST 2004


Robert Kern <rkern at ucsd.edu> wrote in message news:<cgfqpg$kvt$1 at news1.ucsd.edu>...
> Michael Foord wrote:
> > Has anyone had success using weave with gcc for windows (standard
> > windows distribution python)?
> > 
> > I have my distutils setup to use gcc (via mingw32) - which it does
> > fine. I've compiled and installed various modules with it. Weave
> > itself installs fine, picking up the settings from distutils.
> > 
> > However it has it's own version of distutils 'scipy_distutils' that it
> > uses to compile the C it is given - which complains that it can't find
> > msvcc.... The documentation included (which is actually for the 0.2
> > version) gives no hints and I wondered if anyone had any success in
> > using it ?
> 
> Use compiler='gcc' as a keyword argument for weave.inline(), etc.
> 
> Yes, the documentation is fantastically out of date.
> 

Thanks very much.
I'll try that when I get home tonight.
Much appreciated.


Fuzzy


http://www.voidspace.org.uk/atlantibots/pythonutils.html



More information about the Python-list mailing list