#19371: Install Jupyter kernel spec in $SAGE_LOCAL
-------------------------------------+-------------------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: positive_review
Priority: blocker | Milestone: sage-6.9
Component: interfaces | Resolution:
Keywords: | Merged in:
Authors: Jeroen Demeyer | Reviewers: Eric Gourgoulhon
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jdemeyer/install_jupyter_kernel_spec_in__sage_local|
7c916ef8bab1dad676559fb52694f59d06a389ba
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by fbissey):
Two things:
* the fact that `sys.prefix` is `SAGE_LOCAL` is incidental, it doesn't
have to be.
* Once `jupyter_core` is in place it doesn't matter what I set
`SAGE_LOCAL` to, it doesn't change the value of `sys.prefix`
`jupyter_core` or rather `python` is reporting.
The install procedure for sage is now trying to create
`/usr/share/jupyter/kernels/sagemath` and any missing directory. rpm, deb
and ebuild do not allow you to do that directly. You install
`$SOMESANDBOX/usr/share/jupyter/kernels/sagemath` and later you merge into
the live system. That's what `DESTDIR` is for in autotools, you set
`DESTDIR=$SOMESANDBOX` and things magically install in the sandbox.
Now my main concern was the potential for user to do something to
`{/usr,$SAGE_LOCAL}/share/jupyter/kernels/sagemath` which would be
problematic for multi-user install. It is unfounded. The rest is an
upstream problem and we can stop debating packaging tech in this ticket.
--
Ticket URL: <http://trac.sagemath.org/ticket/19371#comment:11>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.