Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 78f964e

Browse files
committed
Clarify comment (hopefully)
1 parent a3b040f commit 78f964e

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

src/bin/sage-env

+10-4
Original file line numberDiff line numberDiff line change
@@ -371,14 +371,20 @@ if [ "$SAGE_STARTUP_FILE" = "" ]; then
371371
fi
372372

373373
if [ -z "$IPYTHONDIR" ]; then
374-
# Use 5.0.0 in the directory name for all IPython versions
375-
# compatible with that version.
374+
# We hardcode a version number in the directory name. The idea is
375+
# that we keep using the same version number as long as that is
376+
# possible. Only when some future IPython version really requires
377+
# a new structure for the $IPYTHONDIR should this version number be
378+
# changed to the new IPython version.
376379
export IPYTHONDIR="$DOT_SAGE/ipython-5.0.0"
377380
fi
378381

379382
if [ -z "$JUPYTER_CONFIG_DIR" ]; then
380-
# Use 4.1 in the directory name for all jupyter_core versions
381-
# compatible with that version.
383+
# We hardcode a version number in the directory name. The idea is
384+
# that we keep using the same version number as long as that is
385+
# possible. Only when some future Jupyter version really requires
386+
# a new structure for the $JUPYTER_CONFIG_DIR should this version
387+
# number be changed to the new jupyter_core version.
382388
export JUPYTER_CONFIG_DIR="$DOT_SAGE/jupyter-4.1"
383389
fi
384390

0 commit comments

Comments
 (0)