On 8 Oct, 2010, at 8:59, Tarek Ziadé wrote:

> Hello,
> 
> On Fri, Oct 8, 2010 at 1:40 AM, Charles Doutriaux <doutria...@llnl.gov> wrote:
>>  Hello,
>> 
>> 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

Ronald

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to