Re: [Numpy-discussion] Using setuptools develop mode with numpy distutils

2013-09-18 Thread Robert Kern
On Wed, Sep 18, 2013 at 12:16 AM, Chris Barker chris.bar...@noaa.gov wrote: Hi, I need to use numpy's distutils Extension to build a fortran / f2py extension. But I also really like setuptools' develop mode. Just import setuptools before doing the numpy.distutils imports. You don't need to

Re: [Numpy-discussion] Using setuptools develop mode with numpy distutils

2013-09-18 Thread Chris Barker
On Wed, Sep 18, 2013 at 2:20 AM, Robert Kern robert.k...@gmail.com wrote: Just import setuptools before doing the numpy.distutils imports. You don't need to use setuptools.setup() in order to get access to the setuptools-added commands. Thanks --- that works fine -- I could have sworn I

[Numpy-discussion] Using setuptools develop mode with numpy distutils

2013-09-17 Thread Chris Barker
Hi, I need to use numpy's distutils Extension to build a fortran / f2py extension. But I also really like setuptools' develop mode. However, if I do: from numpy.distutils.core import Extension and use that to define my Extension object, but use: from setuptools import setup And use that for