Weave - inline C

Robert Kern rkern at ucsd.edu
Tue Aug 24 12:36:00 EDT 2004


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.

> Regards,
> 
> 
> Fuzzy

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter



More information about the Python-list mailing list