[Distutils] distutils rebuilds EVERYTHING

Charles Doutriaux doutriaux1 at llnl.gov
Mon Oct 11 20:36:38 CEST 2010


 Hi Tarek,

Is there a patch out there or a manifest I can create or someway so I
can overwrite this behaviour?

If I download distutils2 do you think it would work?

Thanks,

C.

On 10/7/10 11:59 PM, Tarek Ziadé wrote:
> Hello,
>
> On Fri, Oct 8, 2010 at 1:40 AM, Charles Doutriaux <doutriaux1 at 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://BLOCKEDbugs.python.org/issue8688 for the details.
>
>
>> Charles Doutriaux.
>>
>>
>> _______________________________________________
>> Distutils-SIG maillist  -  Distutils-SIG at python.org
>> http://BLOCKEDmail.python.org/mailman/listinfo/distutils-sig
>>
>
>



More information about the Distutils-SIG mailing list