[Distutils] distutils rebuilds EVERYTHING
ronaldoussoren at mac.com
Tue Oct 12 10:54:04 CEST 2010
On 8 Oct, 2010, at 8:59, Tarek Ziadé wrote:
> On Fri, Oct 8, 2010 at 1:40 AM, Charles Doutriaux <doutriaux1 at llnl.gov> wrote:
>> It seems that since python 2.7 the default behaviour of distutils changed.
>> I have a project with a LOT of .c files used in an extension
>> It used to be that when rebuilding (python setup.py build install) it
>> would only "rebuild" the .o for the C files that actually changed.
>> Since Python 2.7 this seems to have changed. It knows rebuilds EVERY C
>> file in my extension no matter if they changed or not...
>> I can see why the "Default" behaviour of distutils has been changed, it
>> is safer, but is there a way to "revert" to the old way where only the
>> changed files are recompiled.
>> I'm running Python 2.7 (framework) on a Mac 64bit. (10.6)
>> Thank you very much for any help with this,
> This is a regression I introduced to fix the fact that the .so are not
> rebuilt we you do subtle changes in your project.
> We ended up reverting this, and the changes will be done in
> Distutils2. see: http://bugs.python.org/issue8688 for the details.
This issue is more relevant: http://bugs.python.org/issue7894
More information about the Distutils-SIG