On 24 January 2024 15:58:56 GMT, Gareth Ma <grhk...@gmail.com> wrote:
>Hi all, my development Sage installation uses the conda instructions here 
><https://doc.sagemath.org/html/en/installation/conda.html#using-conda-to-provide-all-dependencies-for-the-sage-library>.
> 
>There is a command below for how to recompile Cython files:
>
>pip install --no-build-isolation --config-settings editable_mode=compat -v 
>-v --editable src
>
>However, it seems that it recompiles *every* Cython file, even the ones I 
>haven't touched. This happens everytime, not just the first time I run the 
>command. Is that normal? 

yes, this is normal if you use pip this way.
If you went for a more regular Sage installation where you can run make, then 
such rebuilds would have been much faster, as there is dependency tracking then.



> Is it possible to only recompile files I have 
>changed?
>
>I tried running cythonize -i a.pyx directly on the file. However, it seems 
>to break something and some libraries are not loaded correctly. For 
>example, I was editing sage/rings/finite_rings/element_pari_ffelt.pyx, and 
>after running the cythonize command Sage complains that the ConwayDatabase 
>is missing.
>
>(I hope I am not posting in the wrong mailing group)
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/E8CDCC35-C27D-4102-95E2-EA0CDADF4F12%40gmail.com.

Reply via email to