mirror of
https://github.com/jupyter/notebook.git
synced 2025-04-24 14:20:54 +08:00
s/jupyter_nbconvert/nbconvert/
This commit is contained in:
parent
8893b178b1
commit
011f60e46b
@ -57,7 +57,7 @@ def get_exporter(format, **kwargs):
|
||||
"""get an exporter, raising appropriate errors"""
|
||||
# if this fails, will raise 500
|
||||
try:
|
||||
from jupyter_nbconvert.exporters.export import exporter_map
|
||||
from nbconvert.exporters.export import exporter_map
|
||||
except ImportError as e:
|
||||
raise web.HTTPError(500, "Could not import nbconvert: %s" % e)
|
||||
|
||||
|
@ -34,7 +34,7 @@ def _post_save_script(model, os_path, contents_manager, **kwargs):
|
||||
|
||||
replaces `ipython notebook --script`
|
||||
"""
|
||||
from jupyter_nbconvert.exporters.script import ScriptExporter
|
||||
from nbconvert.exporters.script import ScriptExporter
|
||||
|
||||
if model['type'] != 'notebook':
|
||||
return
|
||||
|
@ -11,7 +11,7 @@ class NbconvertRootHandler(IPythonHandler):
|
||||
@json_errors
|
||||
def get(self):
|
||||
try:
|
||||
from jupyter_nbconvert.exporters.export import exporter_map
|
||||
from nbconvert.exporters.export import exporter_map
|
||||
except ImportError as e:
|
||||
raise web.HTTPError(500, "Could not import nbconvert: %s" % e)
|
||||
res = {}
|
||||
|
@ -4,4 +4,4 @@
|
||||
-e git+https://github.com/jupyter/jupyter_client.git#egg=jupyter_client
|
||||
-e git+https://github.com/ipython/ipython.git#egg=ipython
|
||||
-e git+https://github.com/ipython/ipython_kernel.git#egg=ipython_kernel
|
||||
-e git+https://github.com/jupyter/jupyter_nbconvert.git#egg=jupyter_nbconvert
|
||||
-e git+https://github.com/jupyter/nbconvert.git#egg=nbconvert
|
||||
|
Loading…
x
Reference in New Issue
Block a user