I need to make some modifications to scikit-learn, including changes to the cython code.
I haven't worked on cython before, so could do with some guidance - so far I have got all the dependencies going in a python virtualenv, and cloned and installed the sklearn git.
Now, what is a good workflow for modifying the .pyx files? Should I make modifications and then reinstall to see the effects? Or build instead?
Is there any way to avoid recompiling all the stuff that is unchanged?
I have heard of import pyximport; pyximport.install()
but for me this throws a compile error with sklearn -> is there a way to ensure it uses the same options as the Makefile which runs successfully?
In general I am looking for guidance on how to modify a large cython project without spending decades waiting for unmodified files to recompile.