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

Commit

Permalink
Use Jupyter notebook by default
Browse files Browse the repository at this point in the history
  • Loading branch information
vbraun committed Dec 18, 2015
1 parent 22584a3 commit 580482c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/bin/sage-notebook
Expand Up @@ -114,7 +114,7 @@ EXAMPLES:


notebook_launcher = {
'default': NotebookSageNB, # change this to change the default
'default': NotebookJupyter, # change this to change the default
'sagenb': NotebookSageNB,
'ipython': NotebookJupyter,
'jupyter': NotebookJupyter,
Expand Down Expand Up @@ -155,7 +155,19 @@ def make_parser():
return parser


DEPRECATION_NOTICE = """
Note
----
The default notebook implementation changed. If you prefer to use the
old SageNB notebook, run "sage --notebook=sagenb"
"""



if __name__ == '__main__':
print(DEPRECATION_NOTICE) # Trac #19740
parser = make_parser()
args, unknown = parser.parse_known_args(sys.argv[1:])
if len(unknown) > 0 and unknown[0] == '--':
Expand Down

0 comments on commit 580482c

Please sign in to comment.