On 31 March 2024 15:23:24 CEST, Marc Culler <marc.cul...@gmail.com> wrote:
>This is a follow-up to a user's query in a Sage_macOS issue. 
>
>The current sage-env script contains the excerpt below.  It seems pretty 
>confusing that  Sage would create a directory named .sage/ipython-5.0.0 
>when Sage is shipping IPython 8.18.1.  What would be wrong with calling the 
>directory .sage/profiles/ipython--v1, and moving to ipython--v2 when 
>necessary?  Similarly for jupyter and matplotlib.

I must say I don't know what kind of problems these versioned names are meant 
to solve.

Dima
>
>- Marc
>
>if [ -z "$IPYTHONDIR" ]; then
>    # We hardcode a version number in the directory name. The idea is
>    # that we keep using the same version number as long as that is
>    # possible. Only when some future IPython version really requires
>    # a new structure for the $IPYTHONDIR should this version number be
>    # changed to the new IPython version.
>    export IPYTHONDIR="$DOT_SAGE/ipython-5.0.0"
>fi
>
>if [ -z "$JUPYTER_CONFIG_DIR" ]; then
>    # We hardcode a version number in the directory name. The idea is
>    # that we keep using the same version number as long as that is
>    # possible. Only when some future Jupyter version really requires
>    # a new structure for the $JUPYTER_CONFIG_DIR should this version
>    # number be changed to the new jupyter_core version.
>    export JUPYTER_CONFIG_DIR="$DOT_SAGE/jupyter-4.1"
>fi
>
>if [ -z "$MPLCONFIGDIR" ]; then
>    # We hardcode a version number in the directory name. The idea is
>    # that we keep using the same version number as long as that is
>    # possible. Only when some future Matplotlib version really requires
>    # a new structure for the $MPLCONFIGDIR should this version
>    # number be changed to the new matplotlib version.
>    export MPLCONFIGDIR="$DOT_SAGE/matplotlib-1.5.1"
>fi
>

-- 
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/49795DE7-7E49-411F-8BDC-098473D6FC7D%40gmail.com.

Reply via email to