[SciPy-dev] Bugs?

Charles R Harris charlesr.harris at gmail.com
Thu Feb 9 14:06:02 EST 2006


On 2/9/06, Robert Kern <robert.kern at gmail.com> wrote:
> Charles R Harris wrote:
> > OK,
> >
> > Removing the build directory fixed things up. Why isn't this part of
> > the normal build?
>
> It's only necessary when someone makes relatively large changes to certain parts
> of the C code. Our particular combination of extension modules importing other
> extension modules isn't handled by distutils' simple dependency calculations.
>
> Wiping out ./build/ is only a good thing when those parts of the C code change.
> Otherwise, it's a nuisance. OTOH, if you do want to clean out the build
> directory every time, then just do something like this (in a script or from
> memory or whatever you like):
>
>   $ python setup.py clean build_src build_clib build_ext build

Thanks Robert. Building from scratch goes fast enough that I think
I'll just nuke the build directory every time to avoid any potential
problems.

Chuck




More information about the SciPy-Dev mailing list