timedata-org / old-timedata

Time arts data - high-performance color processing in C++ and Python.
7 stars 3 forks source link

Figure out "single extra recompilation on `test` target" issue #96

Closed rec closed 8 years ago

rec commented 8 years ago

Everything works as expected except this one annoying case:

When I build just test, the first time I do it only it recompiles Cython even though nothing has changed. Somehow this doesn't happen the second time, it then understands the .so is fine.

rec commented 8 years ago

Really annoying - setup.py seems to call itself, and that means if you pass command line flags in, they get lost on the second call, so it calls generate with different flags, so it gives you a wrong genfiles.pyx, so it recompiles.