Hi,
I'm using distutils to build extensions written in C.
I noticed that lately (it seems to be python 2.7 related) whenever I touch 1 C file, ALL the C files are rebuilt. Since I have a lot of C code, it takes a lot of time for nothing.
Any idea why this is happening?
Do I need to set something new in my setup.py ?
Thx,
C.
On Tue, Sep 7, 2010 at 14:12, Charles Doutriaux doutriaux1@llnl.gov wrote:
Hi,
I'm using distutils to build extensions written in C.
I noticed that lately (it seems to be python 2.7 related) whenever I touch 1 C file, ALL the C files are rebuilt. Since I have a lot of C code, it takes a lot of time for nothing.
Any idea why this is happening?
Not without an example that demonstrates the problem, no. Are you using numpy.distutils? If you are just using regular distutils, you may wish to ask on the distutils-sig list or python-list, instead.