From 686228720f88da996935ccaf62a1bed71ae435b7 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Mon, 16 May 2022 13:35:25 -0700 Subject: [PATCH] build/pkgs/sagelib/spkg-install: Un-poison SAGE_DOC for installing the kernelspec --- build/pkgs/sagelib/spkg-install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/pkgs/sagelib/spkg-install b/build/pkgs/sagelib/spkg-install index 31a12f6fa01..519f71cea9c 100755 --- a/build/pkgs/sagelib/spkg-install +++ b/build/pkgs/sagelib/spkg-install @@ -53,7 +53,9 @@ else time python3 -u setup.py --no-user-cfg build install || exit 1 fi -# Install sagemath kernel spec, including symlink to documentation +# Install sagemath kernel spec in $(SAGE_VENV)/share/jupyter/kernels/sagemath, +# including symlink to documentation. Un-poison SAGE_DOC for this purpose. +unset SAGE_LOCAL SAGE_SHARE SAGE_DOC python3 -c 'from sage.repl.ipython_kernel.install import SageKernelSpec; SageKernelSpec.update()' # Trac #33103: The temp.* directories are large after a full build.