if you change *.py files in src/sage/ it's enough to do

./sage -b

to install the changed files in local/

(it's trickier with Cython files)

On Sat, May 30, 2020 at 10:07 PM 'Alan Stafford' via sage-support
<sage-support@googlegroups.com> wrote:
>
> How do I make sure the changes I have made to the code are present.
> Do I need to restart sage or even recompile it? Or just restart the Kernel?
> The change I have made is to ncpus.py .
>
> Indeed Mac OS has no hasattr(os, "sysconf"): .
>
> It should execute "sysctl -n hw.ncpu" which on my machine returns 4.
>
> I can't quite follow the code as I am not used to indentation level affecting 
> code semantics. I know ncpus always returns 1.
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/b8a51fb5-40af-4787-8d8e-472c5baee34c%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq1CGsJ72d7TU7%2B-9WWYCTm6tPfpTG4QToTe8nPLfL7eyw%40mail.gmail.com.

Reply via email to