[Numpy-discussion] New bug with "setup,py develop"
Mon Feb 11 11:27:56 CST 2008
On Feb 11, 2008 3:49 AM, David Cournapeau <email@example.com> wrote:
> On Feb 11, 2008 5:38 PM, Robert Kern <firstname.lastname@example.org> wrote:
> > On Feb 11, 2008 2:21 AM, Robert Kern <email@example.com> wrote:
> > > I've just updated the SVN trunk to get the latest numscons merge.
> > > Something broke the support I put in for the setuptools "develop"
> > > command. In order to make sure that setuptools' "develop" works with
> > > numpy.distutils' "build_src", we override the "develop" command to
> > > reinitialize the "build_src" command to add the --inplace option. This
> > > used to work as of r4772, but now any Fortran Extensions have the
> > > generated sources added twice.
> > Spoke too soon. It fails with r4772, too.
> Does it mean that it was already broken before numscons merge or not ?
Yes. I think I figured out the problem. "python setup.py develop"
works fine. However, I ran into the problem when I added "develop" to
the end of a command line that already had "build". So essentially,
"build_src" gets run twice. I'm not sure there is anything that can be
done about that given distutils' handling of options.
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the Numpy-discussion