That's true. I just edit the kernel.json for each new release (I read it in some tutorial for jupyterhub+sagemath). I will try this.
El lunes, 5 de noviembre de 2018, 10:20:59 (UTC+1), Kwankyu Lee escribió: > > The > > On Monday, November 5, 2018 at 5:53:35 PM UTC+9, Jori Mäntysalo wrote: >> >> On Mon, 5 Nov 2018, Enrique Artal wrote: >> >> > For me it works adding "env": { "SAGE_ROOT": "where_SAGE_ROOT_is" } in >> > kernel.json >> >> Thanks, seems to be much better solution. > > > A problem with this is that it is overwritten when Sage is rebuilt for > upgrade. A much much better solution is to include the following > into jupyterhub_config.py: > > c.Spawner.environment = {'SAGE_ROOT': 'where_SAGE_ROOT_is'} > > Good luck. > -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.