[Distutils] f2py and setuptools

David M. Cooke cookedm+news at physics.mcmaster.ca
Thu Jul 6 19:47:41 CEST 2006

Flavio Codeco Coelho <fccoelho at gmail.com> writes:

> Hi,
>  is there a way to handle the compilation of f2py extension modules from 
> setup tools?
> Or do I have to chose between numpy.distutils.core and setuptools?

numpy.distutils interoperates (mostly) ok with setuptools. Just do
'import setuptools' before 'import numpy.distutils'.

Although, if you run into problems, please report them to the numpy
list (numpy-discussion at lists.sourceforge.net) and we'll see what we
can do.

|David M. Cooke

More information about the Distutils-SIG mailing list