##// END OF EJS Templates
jupyter_notebook renamed to just notebook
Thomas Kluyver -
Show More
@@ -8,7 +8,7 b' import sys'
8 8 from warnings import warn
9 9
10 10 warn("The `IPython.html` package has been deprecated. "
11 "You should import from `jupyter_notebook` instead. "
11 "You should import from `notebook` instead. "
12 12 "`IPython.html.widgets` has moved to `ipython_widgets`.")
13 13
14 14 from IPython.utils.shimmodule import ShimModule
@@ -17,12 +17,12 b" _widgets = sys.modules['IPython.html.widgets'] = ShimModule("
17 17 src='IPython.html.widgets', mirror='ipython_widgets')
18 18
19 19 _html = ShimModule(
20 src='IPython.html', mirror='jupyter_notebook')
20 src='IPython.html', mirror='notebook')
21 21
22 22 # hook up widgets
23 23 _html.widgets = _widgets
24 24 sys.modules['IPython.html'] = _html
25 25
26 26 if __name__ == '__main__':
27 from jupyter_notebook import notebookapp as app
27 from notebook import notebookapp as app
28 28 app.launch_new_instance()
@@ -210,8 +210,8 b' class TerminalIPythonApp(BaseIPythonApplication, InteractiveShellApp):'
210 210 qtconsole=('qtconsole.console.qtconsoleapp.JupyterQtConsoleApp',
211 211 """DEPRECATD: Launch the Jupyter Qt Console."""
212 212 ),
213 notebook=('jupyter_notebook.notebookapp.NotebookApp',
214 """DEPRECATED: Launch the IPython HTML Notebook Server."""
213 notebook=('notebook.notebookapp.NotebookApp',
214 """DEPRECATED: Launch the Jupyter HTML Notebook Server."""
215 215 ),
216 216 profile = ("IPython.core.profileapp.ProfileApp",
217 217 "Create and manage IPython profiles."
@@ -239,7 +239,7 b' class TerminalIPythonApp(BaseIPythonApplication, InteractiveShellApp):'
239 239 ),
240 240 )
241 241 subcommands['install-nbextension'] = (
242 "jupyter_notebook.nbextensions.NBExtensionApp",
242 "notebook.nbextensions.NBExtensionApp",
243 243 "DEPRECATED: Install Jupyter notebook extension files"
244 244 )
245 245
@@ -214,9 +214,9 b" def temp_pyfile(src, ext='.py'):"
214 214 return fname, f
215 215
216 216 def atomic_writing(*args, **kwargs):
217 """DEPRECATED: moved to jupyter_notebook.services.contents.fileio"""
218 warn("IPython.utils.io.atomic_writing has moved to jupyter_notebook.services.contents.fileio")
219 from jupyter_notebook.services.contents.fileio import atomic_writing
217 """DEPRECATED: moved to notebook.services.contents.fileio"""
218 warn("IPython.utils.io.atomic_writing has moved to notebook.services.contents.fileio")
219 from notebook.services.contents.fileio import atomic_writing
220 220 return atomic_writing(*args, **kwargs)
221 221
222 222 def raw_print(*args, **kw):
@@ -208,7 +208,7 b' extras_require = dict('
208 208 terminal = [],
209 209 kernel = ['ipykernel'],
210 210 nbformat = ['nbformat'],
211 notebook = ['jupyter_notebook'],
211 notebook = ['notebook'],
212 212 nbconvert = ['nbconvert'],
213 213 )
214 214
General Comments 0
You need to be logged in to leave comments. Login now